POST /api/smart_proxies/:id/import_puppetclasses
Importer des classes puppet depuis le proxy puppet

POST /api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses
Import des classes puppet depuis le proxy puppet d'un environnement

POST /api/environments/:environment_id/smart_proxies/:id/import_puppetclasses
Import des classes puppet depuis le proxy puppet d'un environnement

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

Validations:

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

smart_proxy_id
optionel

Validations:

  • Must be a String

environment_id
optionel

Validations:

  • Must be a String

dryrun
optionel

Validations:

  • Must be one of: true, false, 1, 0.

except
optionel

Facultatif : liste de mots séparés par des virgules parmi 'new, updated, obsolete' utilisée pour limiter les classes Puppet importées

Validations:

  • Must be a String


GET /api/smart_proxies
Afficher tous les smart proxies

Paramètres

Nom du paramètre Description
location_id
optionel

Tri par emplacement

Validations:

  • Must be a Integer

organization_id
optionel

Tri par organisation

Validations:

  • Must be a Integer

search
optionel

filtrer les résultats

Validations:

  • Must be a String

order
optionel

Champ et sens de tri, ex: 'id DESC'

Validations:

  • Must be a String

page
optionel

Numéro de la page, commençant par 1

Validations:

  • Must be a number.

per_page
optionel

Nombre de résultats par page à renvoyer

Validations:

  • Must be a number.

Rechercher les champs

Nom du champ Type Valeurs possibles
feature
location
location_id
name
organization
organization_id
url

GET /api/smart_proxies/:id
Afficher un smart proxy

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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/smart_proxies
Créer un smart proxy

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_proxy
requis

Validations:

  • Must be a Hash

smart_proxy[name]
requis

Validations:

  • Must be a String

smart_proxy[url]
requis

Validations:

  • Must be a String

smart_proxy[location_ids]
optionel , nil autorisé

REMPLACER les emplacements par les id donnés

Validations:

  • Must be an array of any type

smart_proxy[organization_ids]
optionel , nil autorisé

REMPLACER les organisations qui ont les ID suivants

Validations:

  • Must be an array of any type


PUT /api/smart_proxies/:id
Mise à jour d'un smart proxy

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

Validations:

  • Must be a String

smart_proxy
requis

Validations:

  • Must be a Hash

smart_proxy[name]
optionel

Validations:

  • Must be a String

smart_proxy[url]
optionel

Validations:

  • Must be a String

smart_proxy[location_ids]
optionel , nil autorisé

REMPLACER les emplacements par les id donnés

Validations:

  • Must be an array of any type

smart_proxy[organization_ids]
optionel , nil autorisé

REMPLACER les organisations qui ont les ID suivants

Validations:

  • Must be an array of any type


DELETE /api/smart_proxies/:id
Supprimer un smart proxy

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

Validations:

  • Must be a String


PUT /api/smart_proxies/:id/refresh
Rafraichir les fonctions smart proxy

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

Validations:

  • Must be a String