Asset Proxy API
Any request made with a path prefix of /v1/
will be proxies (or served from the local cache) to the upstream specified by the required up
querystring parameter.
GET /v1/*
- Parameters
- Response
- Sample Request
- Sample Response
- Errors
name | type | req | desc |
---|---|---|---|
up | string [1..100] | ✓ | The upstream to use as configured in the configuration file |
xform | string [1..100] | The transformation to use as configured for the specified upstream in the configuration file. This parameter is only meaningful when the upstream resource is a png, webp, jpg or gif. |
Depends on the upstream's response
curl "http://127.0.0.1:5300/v1/logo.png?up=main&xform"
The general error section details Assets's error responses as well as detailing all errors, including global errors, such as validation and internal server errors.