Versions Compared

Key

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

...

AttributesValues

HTTP Method                

PUTPOST
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 Content
Response Typeapplication/json

...

AttributesValues

HTTP Method                

POSTPUT
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 Content
Response Typeapplication/json

...