Returns the keys of all properties for the comment identified by the key or by the id.
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredReturns a list of all properties in the comment.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/comment/{commentId}/properties' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Returns the value of the property with a given key from the comment identified by the key or by the id. The user who retrieves the property is required to have permissions to read the comment.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
RequiredReturns the value of the property with a given key from the comment.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/comment/{commentId}/properties/{propertyKey}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Sets the value of the specified comment's property.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
Requiredthe request containing value of the comment's property. The value has to be a valid, non-empty JSON conforming to http://tools.ietf.org/html/rfc4627. The maximum length of the property value is 32768 bytes.
any
Returned if the comment property is successfully updated.
1
2
3
4
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/comment/{commentId}/properties/{propertyKey}' \
--user 'email@example.com:<api_token>' \
--header 'Content-Type: application/json'
Removes the property from the comment identified by the key or by the id. Ths user removing the property is required to have permissions to administer the comment.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
RequiredReturned if the comment property was removed successfully.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/comment/{commentId}/properties/{propertyKey}' \
--user 'email@example.com:<api_token>'
Rate this page: