Institutions API

Institutions can be schools, universities, or any other institution.

Get an institution

GET /v1/institutions/:id

Request

Headers

Accept: application/json
Content-Type: application/json
Host: example.org
Cookie: 

Route

GET /v1/institutions/1

cURL

curl -g "https://api.portalmec.c3sl.ufpr.br/v1/institutions/1" -X GET \
	-H "Accept: application/json" \
	-H "Content-Type: application/json"

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
Vary: Origin
ETag: W/"b5f3dc3b8ead1dd3777730a16959412e"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 3a6339d2-9cec-458f-9743-c49661f2cde3
X-Runtime: 0.004760
Content-Length: 256

Status

200 OK

Body

{
  "id": 1,
  "name": "C3SL/UFPR",
  "description": "Centro de Computação Científica e Software Livre",
  "address": "Centro Politécnico",
  "city": "Curitiba",
  "country": "Brasil",
  "avatar": "",
  "created_at": "2019-03-08T13:42:17.186Z",
  "updated_at": "2019-03-08T13:42:17.186Z"
}