GET /api/http_proxies
Lista de proxis HTTP

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Alcance por ubicación

Validations:

  • Must be a Integer

organization_id
opcional

Alcance por organización

Validations:

  • Must be a Integer

search
opcional

filtrar resultados

Validations:

  • Must be a String

order
opcional

Orden y campo de clasificación, p. ej., 'id DESC'

Validations:

  • Must be a String

page
opcional

Número de página, comenzando por 1

Validations:

  • Must be a number.

per_page
opcional

Número de resultados por página para devolver

Validations:

  • Must be a number.

Campos de búsqueda

Nombre del campo Tipo Valores posibles
location
location_id
name
organization
organization_id
url

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

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
Crear un proxy HTTP

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

http_proxy
requerido

Validations:

  • Must be a Hash

http_proxy[name]
requerido

El nombre del proxy HTTP

Validations:

  • Must be a String

http_proxy[url]
requerido

URL del proxy HTTP

Validations:

  • Must be a String

http_proxy[username]
opcional , nil permitido

Nombre de usuario utilizado para autenticar con el proxy HTTP

Validations:

  • Must be a String

http_proxy[password]
opcional , nil permitido

Contraseña utilizada para autenticar con el proxy HTTP

Validations:

  • Must be a String

http_proxy[location_ids]
opcional , nil permitido

REMPLAZAR ubicaciones con ID dadas

Validations:

  • Must be an array of any type

http_proxy[organization_ids]
opcional , nil permitido

REMPLAZAR organizaciones con ID dadas.

Validations:

  • Must be an array of any type


PUT /api/http_proxies/:id
Actualizar un proxy HTTP

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

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
requerido

Validations:

  • Must be a Hash

http_proxy[name]
opcional

El nombre del proxy HTTP

Validations:

  • Must be a String

http_proxy[url]
opcional

URL del proxy HTTP

Validations:

  • Must be a String

http_proxy[username]
opcional , nil permitido

Nombre de usuario utilizado para autenticar con el proxy HTTP

Validations:

  • Must be a String

http_proxy[password]
opcional , nil permitido

Contraseña utilizada para autenticar con el proxy HTTP

Validations:

  • Must be a String

http_proxy[location_ids]
opcional , nil permitido

REMPLAZAR ubicaciones con ID dadas

Validations:

  • Must be an array of any type

http_proxy[organization_ids]
opcional , nil permitido

REMPLAZAR organizaciones con ID dadas.

Validations:

  • Must be an array of any type


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

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

Validations:

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