List Of Document Revisions (Company)
list_of_document_revisions_companyRetrieve a paginated list of the 20 most recent file versions for a specific document in a company. Use to browse revisions, find IDs, or filter results.
Instructions
Return a list of the 20 most recent file versions (revisions) for a specific document in a company, sorted by created_at in descending order. Use this to enumerate Documents when you need a paginated overview, to find IDs, or to filter by query parameters. Returns a paginated JSON array of Documents. Use page and per_page to control pagination; the response includes pagination metadata. Required parameters: company_id, document_id. Procore API (v2.0): Core > Documents. Endpoint: GET /rest/v2.0/companies/{company_id}/documents/{document_id}/revisions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| document_id | Yes | URL path parameter — unique identifier for the document (file). | |
| page | No | Page number for paginated results (default: 1) | |
| per_page | No | Number of items per page (default: 100, max: 100) |