GET
activities/:id/aliases
Lists all aliases for the specified Activity.
Resource Information
| Method and URI | GET https://developer.api.autodesk.com/da/us-east/v3/activities/:id/aliases |
| 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 aliases for 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)
Expand all
| paginationToken string | |
| data array: object | |
| version int | The version that this alias refers to. |
| receiver string or array: string | The user(s) to share the alias with. |
| id string |
Example
Successfully list all aliases for an Activity.
Request
curl -v 'https://developer.api.autodesk.com/da/us-east/v3/activities/:id/aliases' \
-H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a'
Response
{
"paginationToken": "",
"data": [
{
"version": 1,
"id": "prod"
},
{
"version": 1,
"id": "$LATEST"
}
]
}
Show More