-
Bug
-
Resolution: Low Engagement
-
Low
-
None
-
6.8.1
-
Severity 2 - Major
-
0
-
Issue Summary
Custom content's raw body cannot be updated through REST API.
Steps to Reproduce
- Create a new Custom Content on Confluence Server underneath a page
- Now try to update that Custom Content by sending a PUT request against /rest/api/content/<id>. The JSON in the request body should contain a "body" property with the representation "raw".
Example:
{ "type": "my-addon-key:my-custom-content", "title": "My Title", "body": { "raw": { "value": "TEST", "representation": "raw" } }, "version": { "number": 2 } }
Expected Results
The raw body of the Custom Content should get updated.
Actual Results
The endpoint responds with status 200, but the raw body of the Custom Content does not get updated. However, the title can be updated.
Notes
Testing with Questions for Confluence results in a status 501 with message "Not supported, no ApiSupport available for com.atlassian.confluence.plugins.confluence-questions:answer".
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available.
- is related to
-
DEVHELP-2306 Loading...