GET /acd/api/app_definitions/:id
Show application definition

參數

參數名字 描述
id
必填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


GET /acd/api/app_definitions
List application definitions

參數

參數名字 描述
search
選填

篩選結果

Validations:

  • Must be a String

order
選填

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
選填

頁數,從 1 開始

Validations:

  • Must be a number.

per_page
選填

Number of results per page to return, 'all' to return all results

Validations:

  • Must match regular expression /\A([1-9]\d*|all)\Z$/.

Search fields

Field name 類型 Possible values
name

POST /acd/api/app_definitions
Create a application definition

參數

參數名字 描述
app_definition
必填

Validations:

  • Must be a Hash

app_definition[name]
必填

Validations:

  • Must be a String

app_definition[description]
必填

Validations:

  • Must be a String

app_definition[services]
必填

Validations:

  • Must be a String


DELETE /acd/api/app_definitions/:id
Deletes application definition

參數

參數名字 描述
id
必填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.