getDocumentVersions
The getDocumentVersions method enables version control and returns a list of document versions.
This method takes a document ID and should return an array of DocumentVersion
objects for that document.
It is not required that a document
object be attached to each version. Some content sources only list versions in the API response and it is not necessary to query again for the document. Instead, when a version is selected, the getDocumentForVersion
method is called to retrieve the document for the selected version.
Parameters
Example
1
2
3
4
5
6
7
8
9
10
11
12