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

Params

Param Name Description
id
Required

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

Params

Param Name Description
search
Optional

filtrera resultat

Validations:

  • Must be a String

order
Optional

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
Optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
Optional

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 Typ Possible values
name

POST /acd/api/app_definitions
Create a application definition

Params

Param Name Description
app_definition
Required

Validations:

  • Must be a Hash

app_definition[name]
Required

Validations:

  • Must be a String

app_definition[description]
Required

Validations:

  • Must be a String

app_definition[services]
Required

Validations:

  • Must be a String


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

Params

Param Name Description
id
Required

Validations:

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