List proxies
GET /:project/api/proxies
- Query –
source=dbforces the API to return only proxies stored in the database. Without the query parameter, Browsary asks the configuredProxyProviderfor dynamic proxies tied to the user and project. - Response – array of proxy descriptors
{ id?, name?, hostname, port, protocol, username?, password?, metadata }.
Create
POST /:project/api/proxies
- Auth – requires
proxies.writeon the project. - Body
- Validation – hostname/protocol must be non-empty strings; port must be a positive integer. Optional fields are checked for type consistency.
- Response – the created proxy row as stored in the database.
Get / patch / delete
| Endpoint | Description |
|---|---|
GET /.../proxies/{proxyId} | Requires read permission for the specific proxy. Returns the stored record or HTTP 404 if not found. |
PATCH /.../proxies/{proxyId} | Accepts any field from the create payload. Empty usernames/passwords are normalized to null. Metadata defaults to {}. |
DELETE /.../proxies/{proxyId} | Removes the record permanently. |
PUT /:project/api/sessions) to enforce proxy usage for specific browser runs.