GET /api/http_proxies
List of HTTP Proxies

Params

Param name Description
location_id
optional

Abast per ubicacions

Validations:

  • Must be a Integer

organization_id
optional

Abast per organitzacions

Validations:

  • Must be a Integer

search
optional

filtra els resultats

Validations:

  • Must be a String

order
optional

ordena els resultats

Validations:

  • Must be a String

page
optional

pagina els resultats

Validations:

  • Must be a String

per_page
optional

Nombre d'entrades per peticiĆ³

Validations:

  • Must be a String


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

Params

Param name Description
id
required

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

Params

Param name Description
http_proxy
required

Validations:

  • Must be a Hash

http_proxy[name]
required

The HTTP Proxy name

Validations:

  • Must be a String

http_proxy[url]
required

URL of the HTTP Proxy

Validations:

  • Must be a String

http_proxy[username]
optional , nil allowed

Username used to authenticate with the HTTP Proxy

Validations:

  • Must be a String

http_proxy[password]
optional , nil allowed

Password used to authenticate with the HTTP Proxy

Validations:

  • Must be a String

http_proxy[location_ids]
optional , nil allowed

SUBSTITUEIX les ubicacions amb els id. donats

Validations:

  • Must be an array of any type

http_proxy[organization_ids]
optional , nil allowed

SUBSTITUEIX les organitzacions amb els id. donats.

Validations:

  • Must be an array of any type


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

Params

Param name Description
id
required

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
required

Validations:

  • Must be a Hash

http_proxy[name]
optional

The HTTP Proxy name

Validations:

  • Must be a String

http_proxy[url]
optional

URL of the HTTP Proxy

Validations:

  • Must be a String

http_proxy[username]
optional , nil allowed

Username used to authenticate with the HTTP Proxy

Validations:

  • Must be a String

http_proxy[password]
optional , nil allowed

Password used to authenticate with the HTTP Proxy

Validations:

  • Must be a String

http_proxy[location_ids]
optional , nil allowed

SUBSTITUEIX les ubicacions amb els id. donats

Validations:

  • Must be an array of any type

http_proxy[organization_ids]
optional , nil allowed

SUBSTITUEIX les organitzacions amb els id. donats.

Validations:

  • Must be an array of any type


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

Params

Param name Description
id
required

Validations:

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