GET /api/compute_profiles
Lista alla beräkningsprofiler

Params

Param Name Description
search
Optional

filtrera resultat

Validations:

  • Must be String

order
Optional

sortera resultat

Validations:

  • Must be String

page
Optional

paginate results

Validations:

  • Must be String

per_page
Optional

antal poster per begäran

Validations:

  • Must be 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 String


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

Params

Param Name Description
id
Required

Validations:

  • Must be String

compute_profile
Required

Validations:

  • Must be a Hash

compute_profile[name]
Optional

Validations:

  • Must be String


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

Params

Param Name Description
id
Required

Validations:

  • Must be String