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('{id}') | Removes a specific Activity. |
deleteActivityHistory | POST /autocad.io/us-east/v2/Activities('{id}')/Operations.DeleteHistory | Removes the version history of the specified Activity. |
getActivity | GET /autocad.io/us-east/v2/Activities('{id}') | Returns the details of a specific Activity. |
getActivityVersions | GET /autocad.io/us-east/v2/Activities('{id}')/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('{id}') | Updates an Activity by specifying only the changed attributes. |
setActivityVersion | POST /autocad.io/us-east/v2/Activities('{id}')/Operations.SetVersion | Sets the Activity to the specified version. |
updateActivity | PUT /autocad.io/us-east/v2/Activities('{id}') | Updates an Activity by redefining the entire Activity object. |
Activity createActivity(activity)
Creates a new Activity.
Name | Type | Description | Notes |
---|---|---|---|
activity | Activity |
- Content-Type: application/json
- Accept: application/vnd.api+json, application/json
deleteActivity(id)
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)
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)
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)
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()
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)
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)
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
updateActivity(id, activity)
Updates an Activity by redefining the entire Activity object.
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
activity | Activity |
null (empty response body)
- Content-Type: application/json
- Accept: application/vnd.api+json, application/json