...
Attributes | Values |
---|---|
HTTP Method | POST |
Request URI | /comment?path={ resource path } |
HTTP Request Header | Authorization: Bearer {OAuth access token} Content-Type: text/plain |
Payload | Comment appears in text format |
Description | Add the payload comment to the requested resource |
Response | HTTP 204 No Content200 OK |
Response Type | JSON |
Update a Comment on a Resource
Attributes | Values |
---|---|
HTTP Method | PUT |
Request URI | /comment?path={ resource path }&id={ comment id} |
HTTP Request Header | Authorization: Bearer { OAuth access token } Content-Type: text/plain |
Payload | New comment to be updated as TEXT. |
Description | It replaces the new comment for the given comment id |
Response | HTTP 204 No Content200 OK |
Response Type | JSON |
Delete a Comment on a Resource
Attributes | Values |
---|---|
HTTP Method | DELETE |
Request URI | /comment?path={ resource path }&id={ comment id} |
HTTP Request Header | Authorization: Bearer { OAuth access token } |
Response | HTTP 204 No Content200 OK |
Response Type | JSON |
.