This web service uploads a DITA-OT archive to a Fluid Topics portal, and defines it as the DITA-OT version to use for the processing of DITA documents.
Download DITA-OT from the official website.
Method | Endpoint |
---|---|
PUT |
/api/admin/khub/dita-ot |
Example
To upload a DITA-OT, the web service call requires a multipart/form-data
request body, like in the following cURL command:
curl --request PUT \
--form "file=@$DITA_OT.ZIP" \
--header 'Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ' \
https://my-fluidtopics.net/api/admin/khub/dita-ot
These web services support bearer authentication using an API key and basic authentication.
It is not possible to update the DITA-OT used for the legacy DITA connector.
Return code | Description |
---|---|
202 ACCEPTED |
The DITA-OT zip file has been accepted and is uploading. |
400 BAD REQUEST |
The DITA-OT zip file is not supported. |
For a list of all possible return codes, see Return codes.