Complaints API

With complaint an user may report a learning object or collection with inappropriate content.

Get a list of complaints

GET /v1/complaints

Parameters

Name Description
limit Limit of complaints
offset Offset of complaints

Request

Headers

Accept: application/json
Content-Type: application/json
Access-Token: rwYQjIPbk9dzTC9-Vyn_3w
Client: kMTgky0AxPhM6zk1ERrtXw
Uid: joana_reichert@keeling.info
Host: example.org
Cookie: 

Route

GET /v1/complaints?limit=12&offset=0

Query Parameters

limit: 12
offset: 0

cURL

curl -g "https://api.portalmec.c3sl.ufpr.br/v1/complaints?limit=12&offset=0" -X GET \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Access-Token: rwYQjIPbk9dzTC9-Vyn_3w" \
	-H "Client: kMTgky0AxPhM6zk1ERrtXw" \
	-H "Uid: joana_reichert@keeling.info"

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Total-Count: 12
Content-Type: application/json; charset=utf-8
Set-Cookie: _session_id=dkZNMUZvWk1NV3RvQjZ2K2tscjZ2S2Q0ZDlLRkdNcGRaMGVnMTk5bkp0aU8rM1RlRW5tN2draElFdHZ1SEtad3VjZTZhZnhoUnZ4WCs1MVhtaVZENTR2cGdtVWlrclY3MmpuUW9pMkQzcTRPa3Z1cUdXc1ZENHdOa05Rd09rQ1kwN0NVR0xHUjlJbzgrSDhDSytxdG5aYm9Cd0F3UDdrWGM1SWYybVFiVGpBck51czJWWUF2aE9IYjY0ODl4d1VrLS0zY3VBZzN6cTM1cXgrWkoxbjhmeUdBPT0%3D--559dd115dd5f3b572d95bd8d15e34c2bc5f3fff1; path=/; HttpOnly
Vary: Origin
ETag: W/"34d2ae4560b073318a1b037d2225c3e9"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: f7beec21-49b6-465c-98e9-265dac91e607
X-Runtime: 0.103212
Content-Length: 4569

Status

200 OK

Body

[binary data]