2) Start an Image Editor Process
POST {{imagegear_base_url}}/api/v1/imageEditors
Request Body
{"input"=>{"source"=>{"fileId"=>"{{fileId}}"}, "operations"=>[{"type"=>"crop", "top"=>0, "left"=>0, "width"=>200, "height"=>200}]}, "minSecondsAvailable"=>60}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accusoft-Affinity-Token | string |
RESPONSES
status: OK
{"processId":"8iTUqC1uE8YrHpa9o36c5A","state":"processing","expirationDateTime":"2023-02-08T15:50:35.404Z","input":{"source":{"fileId":"1dPOWLExCgHWU2nLor-J5w"},"operations":[{"type":"crop","top":0,"left":0,"width":200,"height":200}]}}