Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AttributesValues

HTTP Method                

POST
Request URI/comment?path={ resource path }
HTTP Request Header

Authorization: Bearer {OAuth access token}

Content-Type: text/plain

PayloadComment appears in text format
DescriptionAdd the payload comment to the requested resource
ResponseHTTP 204 No Content200 OK
Response TypeJSON

Update a Comment on a Resource

AttributesValues

HTTP Method                

PUT
Request URI/comment?path={ resource path }&id={ comment id}
HTTP Request Header

Authorization: Bearer  { OAuth access token }

Content-Type: text/plain

PayloadNew comment to be updated as TEXT.
DescriptionIt replaces the new comment for the given comment id
ResponseHTTP 204 No Content200 OK
Response TypeJSON

Delete a Comment on a Resource

AttributesValues

HTTP Method                

DELETE
Request URI/comment?path={ resource path }&id={ comment id}
HTTP Request HeaderAuthorization: Bearer { OAuth access token }
ResponseHTTP 204 No Content200 OK
Response TypeJSON

.