Question:
A user queries for documents that are deleted in Vault. Why do some document instances have major and minor version numbers listed while others do not?
Answer:
This is working as expected
When an entire document is deleted in Vault, the document itself and all of its versions are deleted.
An API Query output contains a row for the document itself (which does not have a major or minor version number listed) and a row for each version of the document that was deleted (which has a major and minor version number listed).
Related Documentation:
- Vault API Documentation: Retrieve Deleted Document IDs
- Vault Document Actions Documentation: Deleting Documents