/api/triggers

REST API endpoint: /api/triggers

/api/triggers

GET

Summary: List event triggers

You can filter triggers using parameters specified below. For any filter field that can get multpiple options, you can specify them using comma-separated string, or with standard query string mechanism - repeating given field, like in "/tasks?owner=1&owner=2" (this will return all tasks belonging to user 1 OR user 2)

Parameters

NameTypeRequiredDescription
namestringNo
created_at__gtestringNo
created_at__ltestringNo
preset_namestringNo
preset_name__isnullbooleanNo
ownerarrayNoMultiple values may be separated by commas.
name__iregexstringNo
actionsstringNoFilter by action
script_pathstringNoFilter by script path
orderingstringNoWhich field to use when ordering the results.
pageintegerNoA page number within the paginated result set.
page_sizeintegerNoNumber of results to return per page.
show_allbooleanNoInclude internal triggers
exportbooleanNoReturn exportable fields only

Responses

200

POST

Summary: Create a new trigger

Parameters

NameTypeRequiredDescription
reload_timeoutintegerNoNumber of seconds to wait for response

Request Body

json
{
  "example": "request body"
}

Responses

201

/api/triggers | LogZilla Documentation