Versions Compared

Key

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

...

AttributesValues

HTTP Method                

POSTPUT
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 200 OK204 No Content
Response TypeJSON

Update a Comment on a Resource

AttributesValues

HTTP Method                

PUTPOST
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 200 OK204 No Content
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 200 OK204 No Content
Response TypeJSON

.