GET
activities/:id/versions
Lists all versions of the specified Activity.
Resource Information
| Method and URI | GET https://developer.api.autodesk.com/da/us-east/v3/activities/:id/versions |
| Authentication Context | app only |
| Required OAuth Scopes | code:all |
| Data Format | JSON |
Request
Headers
| Authorization* string | Must be Bearer <token>, where <token> is obtained via OAuth |
* Required
Request
URI Parameters
| id string | Name of Activity (unqualified). |
Request
Query String Parameters
| page string | Access an additional ‘page’ of data when necessary, based on the ‘paginationToken’ returned from a previous invocation. |
Response
HTTP Status Code Summary
| 200 OK | Successfully list all versions of an Activity. |
| 400 Bad Request | The request is invalid. |
| 403 Forbidden | Unauthorized |
| 404 Not Found | Not found. |
| 500 Internal Server Error | Unknown error. |
Response
Body Structure (200)
| paginationToken string | |
| data array: integer |
Example
Successfully list all versions of an Activity.
Request
curl -v 'https://developer.api.autodesk.com/da/us-east/v3/activities/:id/versions' \
-H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a'
Response
{
"paginationToken": "",
"data": [
1
]
}