Bookmarks API

Bookmark is a relation between user and object called ‘Favoritos’, which are educational contents or collections. Bookmarks do not have an index for itens.

Getting bookmarks

GET /v1/users/:user_id/bookmarks

Parameters

Name Description
user_id The user id

Request

Headers

Accept: application/json
Content-Type: application/json
Access-Token: cFIfnMRabViFs9hl5lBMWg
Client: RztcELT2eqV2oyj3GCYZyg
Uid: jaquelin@wintheiser.net
Host: example.org
Cookie: 

Route

GET /v1/users/566/bookmarks

cURL

curl -g "https://api.portalmec.c3sl.ufpr.br/v1/users/566/bookmarks" -X GET \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Access-Token: cFIfnMRabViFs9hl5lBMWg" \
	-H "Client: RztcELT2eqV2oyj3GCYZyg" \
	-H "Uid: jaquelin@wintheiser.net"

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
Set-Cookie: _session_id=Qzk3ZEFCY2dLZm00dVp6ZnNLRVBRSkIrUnNHUkRWTkwrMHJJeVdtN0ZRdTNacVZ5SXBNOW9WclN6K01WdkZ2VEk5aWRzOGZrSHM4L2I2KzJSaSs1QkdCUWlzbGhqQVN1bytIdHJNeGVIRTFzMW1ZYlhQb0hMNE1qQVg4SmY4cXIrZFJtc2hKbVZGMHhQOU8vVXk5Zjl6VUtiTmZ3akppRjI4ZDA3WE5OOG9YbndHY1ZId2ZKaWpSb2dPTllFdEVBLS1EckFsc2o0TlpXemNwejVKUEl0a1lnPT0%3D--99688c63793b044561ec2aa6537a6a3066eafbc2; path=/; HttpOnly
Vary: Origin
ETag: W/"83e0467944c2c127368934533a2e8a3a"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: f768cc76-ade1-4e0f-8eaf-685c7a3dd4e7
X-Runtime: 0.107236
Content-Length: 162

Status

200 OK

Body

[binary data]