List revision representations
GET
v2/hubs/{hubId}/contents/{contentId}/revisions/{revisionId}/representations
Returns representations available for a specific revision
Resource Information
| Method and URI | GET https://api.aps.autodesk.com/content-catalog/v2/hubs/{hubId}/contents/{contentId}/revisions/{revisionId}/representations |
| Authentication Context | user context required |
| Required OAuth Scopes | data:read |
| Data Format | JSON |
Request
Headers
| Authorization* string | Must be Bearer <token>, where <token> is a three-legged access token obtained via an
Authorization Code flow
or a Secure Service Account flow.
The Secure Service Account (SSA) flow is designed for headless server-to-server operations. While it functions like a two-legged flow (no user interaction), it is classified as three-legged because it preserves user context. |
| Region string | Region identifier for API routing. Defaults to US if not provided. |
* Required
Request
URI Parameters
| hubId string | Unique identifier for a customer hub (UUID format, uppercase) |
| contentId string | Unique identifier for the content item |
| revisionId string | Unique identifier for the revision |
Request
Query String Parameters
| limit int | Maximum number of representations to return |
| cursorState string | Opaque cursor token from a previous representations response |
Response
HTTP Status Code Summary
| 200 OK | Representations retrieved successfully |
| 403 Forbidden | The request was successfully validated, but lacking the required permissions. Verify your credentials and permissions before you send the request again. |
| 404 Not Found | The requested resource was not found. Review the request and try again. |
| 500 Internal Server Error | An unexpected error occurred on the server, preventing it from completing your request. Please try again later. If the issue persists, contact the support team for assistance. |
Response
Body Structure (200)
Expand all
| results array: object | List of representation resources |
| id string | File representation identifier |
| productVersion string | Product version for this representation, when available |
| fileSize int | Size of this file representation, in bytes, when available |
| createdAt datetime: ISO 8601 | Creation timestamp |
| updatedAt datetime: ISO 8601 | Last update timestamp |
| createdBy string | Creator identifier (Autodesk ID) |
| updatedBy string | Last modifier identifier (Autodesk ID) |
| pagination object | Pagination information for cursor-based navigation |
| limit int | The limit value used by the server in the response |
| cursorState string | CursorState from the request |
| nextUrl string | Link that will return the next page of data. Null if this is the last page |
| nextCursorState string | The cursorState parameter for requesting the next page. Intended for clients that build request URLs programmatically instead of using nextUrl. Null if this is the last page |
Example
Representations retrieved successfully
Request
curl -v 'https://developer.api.autodesk.com/content-catalog/v2/hubs/3BB2AB76-42A9-4E02-8D66-B8779A0DD0CF/contents/550e8400-e29b-41d4-a716-446655440001/revisions/2BDC268B-55D7-4792-B846-19A155CCF777/representations?limit=20&cursorState=eyJ2ZXJzaW9uIjoiMS4wIiwicXVlcnlDb250ZXh0IjoicmVwcmVzZW50YXRpb25zIn0=' \
-H 'Authorization: '
Response
{
"results": [
{
"id": "2D05C942-EBD9-4F6F-976D-93CD2F9B7164",
"productVersion": "2025",
"fileSize": 245678,
"createdAt": "2025-06-11T17:43:45.881Z",
"updatedAt": "2025-06-11T17:43:45.881Z",
"createdBy": "AKB2JV55N3SQ55DT",
"updatedBy": "AKB2JV55N3SQ55DT"
}
],
"pagination": {
"limit": 20,
"cursorState": "eyJxYyI6Im...",
"nextUrl": "https://api.aps.autodesk.com/content-catalog/v2/...",
"nextCursorState": "eyJxYyI6Im..."
}
}
Show More