Zurück zur Übersicht » REST - Document - Rating

REST - Document - Rating

REST-Interface

Is document marked as helpful by current account

URL
GET <application-url>/api/document/<documentId>/version/<documentLanguageVersionId>/rating

Path parameter

Produces

Permission
Login

Sample
GET http://localhost:8080/mtr-backend/api/document/2/version/5/rating


Mark document as helpful (for current account)

URL
PUT <application-url>/api/document/<documentId>/version/<documentLanguageVersionId>/rating

Path parameter

Produces

Permission
Login

Sample
PUT http://localhost:8080/mtr-backend/api/document/2/version/5/rating


Unmark document as helpful (for current account)

URL
DELETE <application-url>/api/document/<documentId>/version/<documentLanguageVersionId>/rating

Path parameter

Produces

Permission
Login

Sample
DELETE http://localhost:8080/mtr-backend/api/document/2/version/5/rating