All URIs are relative to https://developer.api.autodesk.com/
| Method | HTTP request | Description |
|---|---|---|
| createActivity | POST /autocad.io/us-east/v2/Activities | Creates a new Activity. |
| deleteActivity | DELETE /autocad.io/us-east/v2/Activities(%27{id}%27) | Removes a specific Activity. |
| deleteActivityHistory | POST /autocad.io/us-east/v2/Activities(%27{id}%27)/Operations.DeleteHistory | Removes the version history of the specified Activity. |
| getActivity | GET /autocad.io/us-east/v2/Activities(%27{id}%27) | Returns the details of a specific Activity. |
| getActivityVersions | GET /autocad.io/us-east/v2/Activities(%27{id}%27)/Operations.GetVersions | Returns all old versions of a specified Activity. |
| getAllActivities | GET /autocad.io/us-east/v2/Activities | Returns the details of all Activities. |
| patchActivity | PATCH /autocad.io/us-east/v2/Activities(%27{id}%27) | Updates an Activity by specifying only the changed attributes. |
| setActivityVersion | POST /autocad.io/us-east/v2/Activities(%27{id}%27)/Operations.SetVersion | Sets the Activity to the specified version. |
Activity createActivity(activity, oauth2client, credentials)
Creates a new Activity.
| Name | Type | Description | Notes |
|---|---|---|---|
| activity | Activity |
- Content-Type: application/json
- Accept: application/vnd.api+json, application/json
deleteActivity(id, oauth2client, credentials)
Removes a specific Activity.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
null (empty response body)
- Content-Type: application/json
- Accept: application/vnd.api+json, application/json
deleteActivityHistory(id, oauth2client, credentials)
Removes the version history of the specified Activity.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
null (empty response body)
- Content-Type: application/json
- Accept: application/vnd.api+json, application/json
Activity getActivity(id, oauth2client, credentials)
Returns the details of a specific Activity.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: application/json
- Accept: application/vnd.api+json, application/json
DesignAutomationActivities getActivityVersions(id, oauth2client, credentials)
Returns all old versions of a specified Activity.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: application/json
- Accept: application/vnd.api+json, application/json
DesignAutomationActivities getAllActivities(oauth2client, credentials)
Returns the details of all Activities.
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/vnd.api+json, application/json
patchActivity(id, activity, oauth2client, credentials)
Updates an Activity by specifying only the changed attributes.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| activity | ActivityOptional |
null (empty response body)
- Content-Type: application/json
- Accept: application/vnd.api+json, application/json
setActivityVersion(id, activityVersion, oauth2client, credentials)
Sets the Activity to the specified version.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| activityVersion | ActivityVersion |
null (empty response body)
- Content-Type: application/json
- Accept: application/vnd.api+json, application/json