Object Type API

Object Types are the types of the objects.

Get an object type

GET /v1/object_types/:id

Request

Headers

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

Route

GET /v1/object_types/1

cURL

curl -g "https://api.portalmec.c3sl.ufpr.br/v1/object_types/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/"a1133d8682b4c37ac449d702519f5847"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 6b7bc6a8-d852-4be7-9bcf-bed49df088d0
X-Runtime: 0.013437
Content-Length: 40

Status

200 OK

Body

{
  "id": 1,
  "name": "Imagem",
  "mime_types": [

  ]
}