When I create a document and add it to a release, it gets added to that release. Using Repository api, when I call the release, I get all the documents assigned to that release. These documents are a mix of published and draft documents. Is there a possibility to add the flag to check if the document is in draft stage or published stage?
Thanks for checking. There is no way to directly check the status of a document in a release. In theory, you could query the document from your master ref. If nothing is returned, you know that the document is a draft.