Follows API

An User can follow a Collection or another User to see their Activities.

Unfollowing

DELETE /v1/:type/:id/follow

Parameters

Name Description
type Type of object (users or collections)
id The id of the object to follow

Request

Headers

Accept: application/json
Content-Type: application/json
Access-Token: 3Maw6ir5u123TOJGr1UVAw
Client: KA7fZq5itcYLLIPKPuXopw
Uid: fae_littel@treutelschumm.net
Host: example.org
Cookie: 

Route

DELETE /v1/users/1/follow

cURL

curl "https://api.portalmec.c3sl.ufpr.br/v1/users/1/follow" -d '' -X DELETE \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Access-Token: 3Maw6ir5u123TOJGr1UVAw" \
	-H "Client: KA7fZq5itcYLLIPKPuXopw" \
	-H "Uid: fae_littel@treutelschumm.net"

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: text/plain; charset=utf-8
Set-Cookie: _session_id=enNzN0p2KzQydUZ6UjF1d29ETmtLOWp6WE9vRmZqM2lnbTEzKzJTYlZVTzVqWWN5dWhUY3NUZXB6V0RPaHBEeVRRMitDeEdQZXdrNUg4ZU5YdFdpNkJzdVEzN3l2TDNkZFBYeHBnSGE0R0R4NTJ6TUFWWjJsMG1wb0doZ0tKbEpnVG5DMnpqYmtxMHBQOXJLWjczUkMwb1E3MlZVZnVLSjZMd1g3TE9OWW9KN0FOTndkNWlaMFJGTS9PdzRyNHVjLS05a3NTbVNkaEZlLzQ3M2tPZXZSb2lBPT0%3D--5c4188c46206ad94c281ee77d2b206886dfa2dc5; path=/; HttpOnly
Vary: Origin
ETag: W/"36a9e7f1c95b82ffb99743e0c5c4ce95"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 8b9d1752-7ac9-4e28-b5f4-57e99b106802
X-Runtime: 0.124917
Content-Length: 1

Status

200 OK

Body

[binary data]