Mime Types API

Mime Types are the types/extentions which an Object Type can have.

Getting a mime_type

GET /v1/mime_types/:id

Request

Headers

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

Route

GET /v1/mime_types/13

cURL

curl -g "https://api.portalmec.c3sl.ufpr.br/v1/mime_types/13" -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/"84a53c01e6d8277520b7c6b5ea228c9b"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 76ccb3ba-0d8f-4327-9292-c98b61dac3cc
X-Runtime: 0.003741
Content-Length: 56

Status

200 OK

Body

{
  "id": 13,
  "extension": "tiff",
  "mime_type": "model/x3d+xml"
}