Actions
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE |
List all actions
Required API key scopes
action:readPath parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json" - limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /actionsExample response
Status 200
RESPONSE
Create actions
Required API key scopes
action:writePath parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- namestring
- descriptionstring
- tagsarray
- post_to_slackboolean
- slack_message_formatstring
- stepsarray
- deletedboolean
- last_calculated_atstring
- pinned_atstring
- _create_in_folderstring
Response
Example request
POST /api /projects /:project_id /actionsExample response
Status 201
RESPONSE
Retrieve actions
Required API key scopes
action:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Response
Example request
GET /api /projects /:project_id /actions /:idExample response
Status 200
RESPONSE
Update actions
Required API key scopes
action:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- namestring
- descriptionstring
- tagsarray
- post_to_slackboolean
- slack_message_formatstring
- stepsarray
- deletedboolean
- last_calculated_atstring
- pinned_atstring
- _create_in_folderstring
Response
Example request
PATCH /api /projects /:project_id /actions /:idExample response
Status 200
RESPONSE
Delete actions
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
action:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
DELETE /api /projects /:project_id /actions /:id