Hello,
I am using the webservices for OpenKM 6.3. Many of the calls in OKMDocument have a "versionId" as an argument. One would expect this. I see the Document has a "uuid" which I believe identifies the overall Document, not the VersionId, since a Document could have many versions. It would seem natural that the versionId would be contained within the Version class, but it is not.
My question is simple. How do I obtain the versionId for a particular version of a Document?
For example, in OKMDocument there is a method:
public DataHandler getContentByVersion(String token, String docPath, String versionId)
Seems reasonable. I can get the token and construct the docPath without any difficulty. However there is nothing in the API, or in the code, that indicates how I am to obtain the versionId.
thanks
I am using the webservices for OpenKM 6.3. Many of the calls in OKMDocument have a "versionId" as an argument. One would expect this. I see the Document has a "uuid" which I believe identifies the overall Document, not the VersionId, since a Document could have many versions. It would seem natural that the versionId would be contained within the Version class, but it is not.
My question is simple. How do I obtain the versionId for a particular version of a Document?
For example, in OKMDocument there is a method:
public DataHandler getContentByVersion(String token, String docPath, String versionId)
Seems reasonable. I can get the token and construct the docPath without any difficulty. However there is nothing in the API, or in the code, that indicates how I am to obtain the versionId.
thanks