Create a Source - Fluid Topics - 3.6

Use Fluid Topics Web API

Product
Fluid Topics
FT_Version
3.6
Category
Technical Notes
language
English

This web service allows to create or update a single Fluid Topics source.

To create a source, it is necessary to add a JSON input.

Method

Endpoint

PUT

/api/admin/khub/sources/$SOURCE_ID

Where:

  • $SOURCE_ID is the identifier of the source to be created or updated. Only alphanumeric and "_" characters are supported.

Input Example

{
"name": "My_source",
"type": "$SOURCE_TYPE",
"description": "This is a source I am creating"
}

Where:

  • "name" is the name of the source. All character types are supported.
  • "type" is the type of the source. Only the values from the following list are supported:
    • Dita
    • Authorit
    • Authorit Magellan
    • Ftml
    • UnstructuredDocuments
  • "description" is the description of the source. All character types are supported.

Output Example

{
"id": "source_42",
"name": "My source",
"type": "Dita",
"description": "This is a source I am creating"
}