Scroll Versions extensions for ContentEntityObject?
Hello!
I have created custom macros for Confluence and used methods defined in Confluence's API for ContentEntityObject (https://docs.atlassian.com/atlassian-confluence/6.6.0/com/atlassian/confluence/core/ContentEntityObject.html)
Is there some kind of similar API extension for Scroll Versions? I assume that this class is extended in Scroll Versions with additions, for example versions and workflow information.
I would like to access current workflow status in my own macros.
Thanks!
- Tuomas
-
Hi Tuomas, thanks for reaching out.
You can do a GET request to <Confluence_base_URL>/rest/scroll-versions/1.0/workflow/<Confluence_page_id>. Use "application/json" for Accept and Content Type in headers. Keep in mind that each modified versioned page has its own Confluence page Id.
The response would contain JSON object with Workflow status.
Does this help?
Cheers,
Roman.
Please sign in to leave a comment.
Comments
2 comments