Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Institutions

6 routes. Paths are relative to https://api.intersink.com/v1.

All groups

Get all institutions

GET/institutions

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
limitnumber, queryMinimum 1, maximum 100.
offsetnumber, queryMinimum 0.

Response

200. The payload in data is not described in the spec yet. List of institutions.

Create a new institution (platform admin)

POST/institutions

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
namerequiredstringName of the institution
typerequiredstringType of the institution (e.g., University, School, NGO)
statusstringStatus of the institution One of: "published", "draft", "archived".

Response

201. The payload in data is not described in the spec yet. Institution created successfully.

Get a specific institution by ID

GET/institutions/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Response

200. The payload in data is not described in the spec yet. Institution details.

Update an institution (platform admin)

PATCH/institutions/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Request body application/json

FieldTypeDescription
namestringName of the institution
typestringType of the institution
statusstringStatus of the institution One of: "published", "draft", "archived".

Response

200. The payload in data is not described in the spec yet. Institution updated successfully.

Delete an institution (platform admin)

DELETE/institutions/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Response

200. The payload in data is not described in the spec yet. Institution deleted successfully.

Get all unique institution types

GET/institutions/types

Needs a signed-in user (Bearer token or access_token cookie).

Response

200. The payload in data is not described in the spec yet. List of institution types.