Upload via REST API

From Transkribus Wiki
Revision as of 15:42, 23 August 2017 by Philip Kahle (Talk | contribs)

Jump to: navigation, search

The path /rest/uploads includes endpoints that allow to import a document into Transkribus.


A POST request to this endpoint creates a new upload process on the server. It is mandatory to set the query parameter collId which must include the ID of a collection where the user has write access.
If the Content-Type header is set to application/xml, the request body must include a valid Transkribus METS XML.
If the header specifies application/json then a JSON object of the following form is expected: