Images
Crop an image
Accepts a base64-encoded image, optionally duplicates it if shared across items, uploads the cropped version to S3, and updates the image record.
post/api/crop-image
Request
- Base URLhttps://api.sponsorunited.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"file": "data:image/png;base64,iVBORw0KGgo...",
"type": "generic"
}Response
Updated image record
object required
Changes
No recorded changes to this operation across all 2 revisions of this API.