Suggestions API

Are the suggestion forms of the API.

Getting a suggestion

GET /v1/suggestions/:id

Request

Headers

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

Route

GET /v1/suggestions/13

cURL

curl -g "https://api.portalmec.c3sl.ufpr.br/v1/suggestions/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/"3a94c02f5a1a8297b0bd483075318e00"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: a6bd431c-074b-4f00-8b47-f47e4837e40c
X-Runtime: 0.005510
Content-Length: 103

Status

200 OK

Body

{
  "id": 13,
  "name": "et",
  "link": "possimus",
  "description": "Molestiae totam sit debitis.",
  "status": "created"
}

Request

Headers

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

Route

GET /v1/suggestions/13

cURL

curl -g "https://api.portalmec.c3sl.ufpr.br/v1/suggestions/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/"3a94c02f5a1a8297b0bd483075318e00"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 0fc1bf7e-f432-4176-aa15-20b6c6f7899c
X-Runtime: 0.004138
Content-Length: 103

Status

200 OK

Body

{
  "id": 13,
  "name": "et",
  "link": "possimus",
  "description": "Molestiae totam sit debitis.",
  "status": "created"
}