get_document_versions
Retrieve all past, current, and future versions of a document to track changes and access historical content in IBM FileNet Content Manager.
Instructions
Retrieves all versions in the version series that includes the specified document. This returns all versions (past, current, and future) that belong to the same version series.
:param identifier: The document id or path (required). This can be either the document's ID (GUID) or its path in the repository (e.g., "/Folder1/document.pdf").
:returns: A dictionary containing the version series details, including: - versionSeries (dict): A dictionary containing version series details, including: - versions (list): A list of all versions in the series, with each version containing: - majorVersionNumber (int): The major version number. The format to print out version number is majorVersionNumber.minorVersionNumber. - minorVersionNumber (int): The minor version number. The format to print out version number is majorVersionNumber.minorVersionNumber. - id (str): The unique identifier of the version's document id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes |