Users API

User represents the teacher and students in the system.

Get all user that want be teachers

GET /v1/users/teacher_requests

Request

Headers

Accept: application/json
Content-Type: application/json
Access-Token: Sl3NBTnbdeNujXA2WktkQw
Client: UHuFL-mCRxHTHgxIQJCt0Q
Uid: jesus.mitchell@thielbailey.info
Host: example.org
Cookie: 

Route

GET /v1/users/teacher_requests

cURL

curl -g "https://api.portalmec.c3sl.ufpr.br/v1/users/teacher_requests" -X GET \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Access-Token: Sl3NBTnbdeNujXA2WktkQw" \
	-H "Client: UHuFL-mCRxHTHgxIQJCt0Q" \
	-H "Uid: jesus.mitchell@thielbailey.info"

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Total-Count: 0
Content-Type: application/json; charset=utf-8
Set-Cookie: _session_id=b1FkbW12UVIyUGl5ZkFHQ001bmpMUGo3ZTFNT0lZWTkvU3B6dWQ5Z3VxQnVSK01HTkFOUzNQNXZpcUZsc1Bpa1RIMlZ3RGpWSFNnWGkxcWZVcklweTZSbzB0RGx2UWxqRnpzQlV3bFMvM1VwbTZMUDFCR3N0Zm9zdEhaN0J6OGs3TUpxZnBtNVBXNUZiSXZOYkd3clg1WWhVcG1HR3NvNmN4QkdMc2p2VmdVTXo0OHFHQitLeHNVakxjUzNFWWpkLS1tK3czd3ZyNnluVGdoTWhLWC9qZjdnPT0%3D--d12f2e28e7159b4199e7f9d04ca52a4be45db469; path=/; HttpOnly
Vary: Origin
ETag: W/"4f53cda18c2baa0c0354bb5f9a3ecbe5"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: be0602e1-c350-4f0a-96fd-461deceb928f
X-Runtime: 0.135197
Content-Length: 2

Status

200 OK

Body

[

]