Upload Data through a Source - Fluid Topics - 3.6

Use Fluid Topics Web API

Product
Fluid Topics
FT_Version
3.6
Category
Technical Notes
language
English

To upload new documentation, it is necessary to publish it through a source.

Method

Endpoint

POST

/api/admin/khub/sources/$SOURCE_ID/upload

Where:

The server automatically updates your ZIP file and adds the source information so that it can be correctly processed by the connector.

The ZIP file must be sent as "file" multi-part content.

Data can be uploaded through a source using the following CURL command:

curl --request POST --form "file=@$MY_ARCHIVE.ZIP" -u root@fluidtopics.com:PASSWORD https://my-fluidtopics.net/api/admin/khub/sources/$SOURCE_ID/upload

Where -u or --user, the CURL parameter for "HTTP Basic Authentication", can be used from Fluid Topics version 3.4.12.