Create a new 'AutomationSource' entity
POST/atm-source
Creates a new 'AutomationSource' entity. Returns full entity with new id and (optional) creation metadata.
Request
- application/json
Body
required
The unique entity id - must be a positive integer
The project id this entity or mapping belongs to
The name property
Display name for automation source in user interface
Main integration tests
The retention_days property
Responses
- 200
- 4XX
- 5XX
Returns a single AutomationSource
- application/json
- Schema
- Example (from schema)
Schema
The unique entity id - must be a positive integer
The project id this entity or mapping belongs to
The name property
Display name for automation source in user interface
Main integration tests
The retention_days property
{
"id": 0,
"project_id": 0,
"name": "string",
"display_name": "Main integration tests",
"retention_days": 0
}
The request failed because invalid request parameters or data were supplied or access was denied.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
API_INVALID_INPUT_DATA
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}
The request failed because an error occurred during processing of the request.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
API_INVALID_INPUT_DATA
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}