GET /api/compute_profiles
Lista alla beräkningsprofiler

Params

Param name Description
search
optional

filtrera resultat

Validations:

  • Must be a String

order
optional

sortera resultat

Validations:

  • Must be a String

page
optional

paginate results

Validations:

  • Must be a String

per_page
optional

antal poster per begäran

Validations:

  • Must be a String


GET /api/compute_profiles/:id
Visa en beräkningsprofil

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.


POST /api/compute_profiles
Skapa en beräkningsprofil

Params

Param name Description
compute_profile
required

Validations:

  • Must be a Hash

compute_profile[name]
required

Validations:

  • Must be a String


PUT /api/compute_profiles/:id
Uppdatera en beräkningsprofil

Params

Param name Description
id
required

Validations:

  • Must be a String

compute_profile
required

Validations:

  • Must be a Hash

compute_profile[name]
optional

Validations:

  • Must be a String


DELETE /api/compute_profiles/:id
Radera en beräkningsprofil

Params

Param name Description
id
required

Validations:

  • Must be a String