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: Basic { base64encoded(username:password) }

Content-Type: text/plain

PayloadComment appears in text format
DescriptionAdd the payload comment to the requested resource
ResponseHTTP 204 No Content
Response Typeapplication/json

 

Sample request

...

curl -X POST -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Cache-Control: no-cache" -d 'Sample Comment' "https://localhost:9443/resource/1.0.0/comment?path=/_system/governance/trunk/soapservices/com/amazon/soap/1.0.0/AmazonSearchService" -i -k

...