odd

Replace an ODD with the current version from the editor

put/api/odd/{odd}

Request

  • Base URL
    /exist/apps/tei-publisher (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    • API key in cookie teipublisher.com.login
    • or HTTP basic

Path parameters

oddstring required
Example:testodd.odd

Filename of the ODD with the suffix (.odd)

Query parameters

rootstring
Example:/db/apps/tei-publisher/odd

Collection into which the ODD should be written

output-rootstring
Example:/db/apps/tei-publisher/transform

The collection into which generated code files will be written

output-prefixstring
Example:transform

Relative path (from app root) used for resolving connected CSS files

Request body application/xml

string required

Response

ODD was saved

pathstring
reportstring
sourcestring

Changes

    • info

      added the optional property to the response with the status

    • info

      added the new optional query request parameter output-prefix

    • info

      added the new optional query request parameter output-root

    • info

      added the new optional query request parameter root