Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
api:api_institutions [2014/06/29 20:34] – [Parameters] Lauri Elevantapi:api_institutions [2016/09/08 14:47] – [Response example] Lauri Elevant
Line 20: Line 20:
  
   * // Note [1]: Lists can be either comma or space separated. All list items are combined with logical ''OR'' operators - in other words an institution is considered matching if it matches to any of the values in the list.//   * // Note [1]: Lists can be either comma or space separated. All list items are combined with logical ''OR'' operators - in other words an institution is considered matching if it matches to any of the values in the list.//
 +
 ==== Response headers ==== ==== Response headers ====
  
Line 25: Line 26:
   Content-Length: 1456   Content-Length: 1456
   X-Count: 1   X-Count: 1
 +
 +==== Response example ====
 +
 +  {
 +    "1": {
 +        "status": "Online",
 +        "mode": "Internal",
 +        "name": "Sample university",
 +        "country": "EE",
 +        "location": "Tallinn",
 +        "www": null,
 +        "erasmus": null,
 +        "registration": null,
 +        "departments": "/api/institutions/1/departments",
 +        "contacts": "/api/institutions/1/contacts"
 +    }
 +  }