Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
api:api_institutions [2014/07/23 22:20]
Lauri Elevant
api:api_institutions [2021/01/21 12:51] (current)
Line 17: Line 17:
 ^ Name ^  ^ Description ^ Notes ^ ^ Name ^  ^ Description ^ Notes ^
 | ''byStatuses'' | Optional | List of statuses, currently limited to: ''Online'', ''Draft'' | [1] | | ''byStatuses'' | Optional | List of statuses, currently limited to: ''Online'', ''Draft'' | [1] |
 +| ''byModes'' | Optional | ''Internal'' (DA user) or ''External'' (not users of DA, partner etc.) | [1] |
 | ''byCountries'' | Optional | List of [[http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2|ISO 3166-1 alpha-2 country codes]] | [1] | | ''byCountries'' | Optional | List of [[http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2|ISO 3166-1 alpha-2 country codes]] | [1] |
  
Line 32: Line 33:
     "1": {     "1": {
         "status": "Online",         "status": "Online",
 +        "mode": "Internal",
         "name": "Sample university",         "name": "Sample university",
         "country": "EE",         "country": "EE",
Line 38: Line 40:
         "erasmus": null,         "erasmus": null,
         "registration": null,         "registration": null,
-        "departments": "/api/institutions/1/departments", +        "departments": "/api/institutions/1/departments"
-        "contacts": "/api/institutions/1/contacts"+
     }     }
   }   }