Object Type API

Object Types are the types of the objects.

Get a list of object types

GET /v1/object_types

Request

Headers

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

Route

GET /v1/object_types

cURL

curl -g "https://api.portalmec.c3sl.ufpr.br/v1/object_types" -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/"e8f34929d02c02c0e7cf3941e5644ccd"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: e99b6f42-ead7-4a8a-b477-9ac9abbecdca
X-Runtime: 0.033426
Content-Length: 690

Status

200 OK

Body

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

    ]
  },
  {
    "id": 2,
    "name": "Mapa",
    "mime_types": [

    ]
  },
  {
    "id": 3,
    "name": "Software Educacional",
    "mime_types": [

    ]
  },
  {
    "id": 4,
    "name": "Experimento prático",
    "mime_types": [

    ]
  },
  {
    "id": 5,
    "name": "Animação",
    "mime_types": [

    ]
  },
  {
    "id": 6,
    "name": "Texto",
    "mime_types": [

    ]
  },
  {
    "id": 7,
    "name": "Áudio",
    "mime_types": [

    ]
  },
  {
    "id": 8,
    "name": "Vídeo",
    "mime_types": [

    ]
  },
  {
    "id": 9,
    "name": "Apresentação",
    "mime_types": [

    ]
  },
  {
    "id": 10,
    "name": "Infográfico",
    "mime_types": [

    ]
  },
  {
    "id": 11,
    "name": "Jogo",
    "mime_types": [

    ]
  },
  {
    "id": 12,
    "name": "Aplicativo móvel",
    "mime_types": [

    ]
  },
  {
    "id": 13,
    "name": "Website externo",
    "mime_types": [

    ]
  },
  {
    "id": 14,
    "name": "Livro digital",
    "mime_types": [

    ]
  },
  {
    "id": 15,
    "name": "Outros",
    "mime_types": [

    ]
  }
]