GET /api/http_proxies
Liste de proxies HTTP

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
location
location_id
name
organization
organization_id
url

GET /api/http_proxies/:id
Afficher un proxy HTTP

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

Identifier of the HTTP Proxy

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/http_proxies
Créer un proxy HTTP

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

http_proxy
requis

Validations:

  • Must be a Hash

http_proxy[name]
requis

Nom du proxy HTTP

Validations:

  • Must be a String

http_proxy[url]
requis

URL du proxy HTTP

Validations:

  • Must be a String

http_proxy[username]
optionel , nil autorisé

Nom d'utilisateur permettant de s'authentifier auprès du proxy HTTP

Validations:

  • Must be a String

http_proxy[password]
optionel , nil autorisé

Mot de passe utilisé pour s'authentifier auprès du proxy HTTP

Validations:

  • Must be a String

http_proxy[location_ids]
optionel , nil autorisé

REMPLACER les emplacements par les id donnés

Validations:

  • Must be an array of any type

http_proxy[organization_ids]
optionel , nil autorisé

REMPLACER les organisations qui ont les ID suivants

Validations:

  • Must be an array of any type


PUT /api/http_proxies/:id
Mettre à jour un proxy HTTP

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.

http_proxy
requis

Validations:

  • Must be a Hash

http_proxy[name]
optionel

Nom du proxy HTTP

Validations:

  • Must be a String

http_proxy[url]
optionel

URL du proxy HTTP

Validations:

  • Must be a String

http_proxy[username]
optionel , nil autorisé

Nom d'utilisateur permettant de s'authentifier auprès du proxy HTTP

Validations:

  • Must be a String

http_proxy[password]
optionel , nil autorisé

Mot de passe utilisé pour s'authentifier auprès du proxy HTTP

Validations:

  • Must be a String

http_proxy[location_ids]
optionel , nil autorisé

REMPLACER les emplacements par les id donnés

Validations:

  • Must be an array of any type

http_proxy[organization_ids]
optionel , nil autorisé

REMPLACER les organisations qui ont les ID suivants

Validations:

  • Must be an array of any type


DELETE /api/http_proxies/:id
Supprimer un proxy HTTP

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.