I am tagging page with status( In-Progress/Ready for Review/Rough-Draft/Verified) when ever I am updating the page.
So now I am looking for an api or way to get the earlier version content state. For eg if I made changes from Rough-Draft -> Verified.
I found a API to get the current version content state using this API
{{instanceurl}}/rest/api/content/{{page-id}}/state.
However am looking for a way to get the earlier version state like as per above transition , API to find the content state Rough-Draft
Hi @ssam
I am not aware of direct way in API that gives you the state directly for all versions. I think you have to rely somehow on version history
{{instanceurl}}/rest/api/content/{{page-id}}/version
This would give you all the information about the versions, so now somehow would be good to fetch this and get to specific content
{{instanceurl}}/rest/api/content/{{page-id}}?version={{version-number}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.