GET /api/http_proxies
Lista de proxies HTTP

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Escopo de localizações

Validations:

  • Must be a Integer

organization_id
opcional

Escopo de organização

Validations:

  • Must be a Integer

search
opcional

filtrar resultados

Validations:

  • Must be a String

order
opcional

Classificar campo e ordem, ex.: ‘id DESC’

Validations:

  • Must be a String

page
opcional

Número de página, iniciando em 1

Validations:

  • Must be a number.

per_page
opcional

Número de resultados por página para retornar

Validations:

  • Must be a number.

Pesquisar campos

Nome do campo Tipo Valores possíveis
location
location_id
name
organization
organization_id
url

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

Parâmentros

Nome parâmetro Descrição
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
Criar um proxy HTTP

Parâmentros

Nome parâmetro Descrição
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

O nome do proxy HTTP

Validations:

  • Must be a String

http_proxy[url]
requerido

URL do proxy HTTP

Validations:

  • Must be a String

http_proxy[username]
opcional , nulo permitido

Nome de usuário usado para autenticar com o proxy HTTP

Validations:

  • Must be a String

http_proxy[password]
opcional , nulo permitido

A senha usada para autenticar com o proxy HTTP

Validations:

  • Must be a String

http_proxy[location_ids]
opcional , nulo permitido

SUBSTITUIR localizações dadas com ids

Validations:

  • Must be an array of any type

http_proxy[organization_ids]
opcional , nulo permitido

SUBSTITUIR organizações dadas com ids

Validations:

  • Must be an array of any type


PUT /api/http_proxies/:id
Atualizar um proxy HTTP

Parâmentros

Nome parâmetro Descrição
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

O nome do proxy HTTP

Validations:

  • Must be a String

http_proxy[url]
opcional

URL do proxy HTTP

Validations:

  • Must be a String

http_proxy[username]
opcional , nulo permitido

Nome de usuário usado para autenticar com o proxy HTTP

Validations:

  • Must be a String

http_proxy[password]
opcional , nulo permitido

A senha usada para autenticar com o proxy HTTP

Validations:

  • Must be a String

http_proxy[location_ids]
opcional , nulo permitido

SUBSTITUIR localizações dadas com ids

Validations:

  • Must be an array of any type

http_proxy[organization_ids]
opcional , nulo permitido

SUBSTITUIR organizações dadas com ids

Validations:

  • Must be an array of any type


DELETE /api/http_proxies/:id
Excluir um proxy HTTP

Parâmentros

Nome parâmetro Descrição
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.