v1alpha1
Finish a file upload
Changed onCall 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
- Base URLhttps://api.trademeai.co.nz (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.
Path parameters
file_idstring required
Headers
authorizationstring nullable
Response
Successful Response
Changes
- info
endpoint added
- info