GET /api/http_proxies
List of HTTP 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

trier les resultats

Validations:

  • Must be a String

page
optionel

paginer les résultats

Validations:

  • Must be a String

per_page
optionel

nombre d'entier par requête

Validations:

  • Must be a String


GET /api/http_proxies/:id
Show an HTTP Proxy

Paramètres

Nom du paramètre Description
id
requis

Numerical ID or HTTP Proxy name

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
Create an HTTP Proxy

Paramètres

Nom du paramètre Description
http_proxy
requis

Validations:

  • Must be a Hash

http_proxy[name]
requis

The HTTP Proxy name

Validations:

  • Must be a String

http_proxy[url]
requis

URL of the HTTP Proxy

Validations:

  • Must be a String

http_proxy[username]
optionel , nil autorisé

Username used to authenticate with the HTTP Proxy

Validations:

  • Must be a String

http_proxy[password]
optionel , nil autorisé

Password used to authenticate with the HTTP Proxy

Validations:

  • Must be a String

http_proxy[location_ids]
optionel , nil autorisé

REMPLACER les emplacements qui ont les ID suivant

Validations:

  • Must be an array of any type

http_proxy[organization_ids]
optionel , nil autorisé

REMPLACER les organisations qui ont les ID suivant

Validations:

  • Must be an array of any type


PUT /api/http_proxies/:id
Update an HTTP Proxy

Paramètres

Nom du paramètre Description
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

The HTTP Proxy name

Validations:

  • Must be a String

http_proxy[url]
optionel

URL of the HTTP Proxy

Validations:

  • Must be a String

http_proxy[username]
optionel , nil autorisé

Username used to authenticate with the HTTP Proxy

Validations:

  • Must be a String

http_proxy[password]
optionel , nil autorisé

Password used to authenticate with the HTTP Proxy

Validations:

  • Must be a String

http_proxy[location_ids]
optionel , nil autorisé

REMPLACER les emplacements qui ont les ID suivant

Validations:

  • Must be an array of any type

http_proxy[organization_ids]
optionel , nil autorisé

REMPLACER les organisations qui ont les ID suivant

Validations:

  • Must be an array of any type


DELETE /api/http_proxies/:id
Delete an HTTP Proxy

Paramètres

Nom du paramètre Description
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.