POST
/
api
/
v1
/
actions
curl --request POST \
  --url https://cloud.bytebeam.io/api/v1/actions \
  --header 'Content-Type: application/json' \
  --header 'x-bytebeam-api-key: <api-key>' \
  --header 'x-bytebeam-tenant: <api-key>' \
  --data '{
  "schedule": {
    "retry_on_failure_until": 123,
    "end_timestamp": 123,
    "phases": [
      {
        "name": "<string>",
        "trigger_on": {},
        "info": {}
      }
    ],
    "release_notes": "<string>"
  },
  "search_query": "<string>",
  "params": {},
  "device_ids": [
    "<string>"
  ],
  "search_type": "<string>",
  "action": "<string>",
  "timeout": 123,
  "metadata": {},
  "search_key": "<string>"
}'
{
  "id": 123,
  "created_at": "<string>",
  "phases": {
    "name": "<string>",
    "trigger_on": {}
  }
}

Authorizations

x-bytebeam-api-key
string
header
required

API key required to authenticate requests.

x-bytebeam-tenant
string
header
required

Tenant(Project) name required to identify the project.

Body

params
object
required
search_type
string
required
action
string
required
schedule
object
search_query
string
device_ids
string[]
timeout
integer
metadata
object
search_key
string

Response

200
application/json
id
integer
required
created_at
string
required
phases
object