imgapi API Reference
API Reference for the imgapi service v1.0.0
POST /1/optimize
This endpoint will compress the src image and store it in your destination. Once the image is optimized the API will issue a POST
to the location you specified. If you would like to have the images dropped to a bucket you can provide a pre-signed S3 URL.
API Key required in header: x-api-key
Content-Type: application/json
Body Request Example:
|
|
Response Example:
|
|
GET /1/status
Retrieve the status of a queued up request.
Query parameter request_id
Response Example
|
|