Reviews API

Review is a note for educational content or collections, made by users.

Delete a review

DELETE /v1/:type/:id/reviews/:review_id

Parameters

Name Description
id The id of object
type type of object ['learning_objects', 'collections']
review_id The id of review

Request

Headers

Accept: application/json
Content-Type: application/json
Access-Token: N6S1cW4_snJ_eyEyG98q-g
Client: KlSmRP7kn-dQOa2ZmWIv2w
Uid: murphy@gulgowski.org
Host: example.org
Cookie: 

Route

DELETE /v1/learning_objects/885/reviews/1793

cURL

curl "https://api.portalmec.c3sl.ufpr.br/v1/learning_objects/885/reviews/1793" -d '' -X DELETE \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Access-Token: N6S1cW4_snJ_eyEyG98q-g" \
	-H "Client: KlSmRP7kn-dQOa2ZmWIv2w" \
	-H "Uid: murphy@gulgowski.org"

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=UVBzVCtMUHJtODd3OGdjUlJuUUEwQUhIOU1BcStEU2JaYmNXbGZuYWUramVqaGErNGRCbVhETnlJaVJxdUNHMWt0VWVjVVhoYzNBSVZscWlnT3NPTTUyVmkrRzNzcWZKOGtaS1c1dmU4U2tQUENHZFczV0hUVkJaZHk3S3FXaWpDamVsVXlOamxCak5HaVJ5VzhJUE1PQVVsdjUzQVBYazE4Uy9XUEJDTDkzQ3dSUlNoUHVrM0x1c2VjREhhUGVJLS1jYVM2d0FwaTcwa1NkVk1hNktaS0t3PT0%3D--b9a94522c02c70b2ca163b346c3ea32852f5372b; path=/; HttpOnly
Vary: Origin
ETag: W/"36a9e7f1c95b82ffb99743e0c5c4ce95"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: c8d3a87a-d404-4959-9675-e203197d7404
X-Runtime: 0.143170
Content-Length: 1

Status

200 OK

Body