Upload Data through a Source - Fluid Topics - 3.4 - Reference Guides

Fluid Topics API Reference Guide

Product
Fluid Topics
Fluid Topics Version
3.4
Category
Reference Guides
Language
English
Target Audience
public

To upload new documentation, you have to send it to the Fluid Topics portal 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.