v1alpha1

Finish a file upload

Changed on

Call after the bytes are uploaded to putUrl. Checks the upload and makes the file active, then returns its fileId, ref, state and sizeBytes. Answers 404 for an unknown file and 422 when the upload does not pass the check.

Error bodies are described in the error contract.

post/api/v1alpha1/assistant/trademe/files/{file_id}/complete

Request

Path parameters

file_idstring required

Headers

authorizationstring nullable

Response

Successful Response

fileIdstring required
refstring required
statestring required
sizeBytesinteger nullable
captionstring nullable

Changes