GET /api/compute_profiles
Llista de tots els perfils computacionals

Params

Param name Description
search
optional

filtra els resultats

Validations:

  • Must be a String

order
optional

ordena els resultats

Validations:

  • Must be a String

page
optional

pagina els resultats

Validations:

  • Must be a String

per_page
optional

Nombre d'entrades per peticiĆ³

Validations:

  • Must be a String


GET /api/compute_profiles/:id
Mostra un perfil computacional

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
Crea un perfil computacional

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
Actualitza un perfil computacional

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
Suprimeix un perfil computacional

Params

Param name Description
id
required

Validations:

  • Must be a String