Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.24 KB

post_image_with_annotations.markdown

File metadata and controls

59 lines (41 loc) · 1.24 KB

Native Upload API

Post image with annotations

POST api/v1/native_upload/batch

Parameters

Name Description Required Scope
params JSON file false

Request

Headers

Host: example.org
Content-Type: multipart/form-data; boundary=----------XnJLe9ZIbbGUYtzPQJ16u1
Cookie: 

Route

POST api/v1/native_upload/batch

Body

------------XnJLe9ZIbbGUYtzPQJ16u1
Content-Disposition: form-data; name="file"; filename="test20190408-252-11ijqxs.json"
Content-Type: application/json
Content-Length: 757

[uploaded data]
------------XnJLe9ZIbbGUYtzPQJ16u1--

Response

Headers

Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Content-Type: text/html
Vary: Accept-Encoding
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
X-Request-Id: d6812da3-0d5f-400e-b1bf-8f4cd0627677
X-Runtime: 0.055618
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
Content-Length: 0

Status

200 OK