Patch metadata state

PATCH metadata state for a file, (i.e. when an upload has completed)

patch/files/{path}

Request

  • Base URL
    http://localhost:26900
  • Auth
    API key in header Authorization

Path parameters

pathstring required

path of required file

Request body

statestring

New state for the file: UPLOADED, PUBLISHED or MOVED

collection_idstring

Set the collection ID when linking a file to a collection

bundle_idstring

Set the bundle ID when linking a file to a bundle

etagstring

The etag for the file

Example request

{
  "state": "UPLOADED",
  "etag": "194577a7e20bdcc7afbb718f502c134c"
}

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.