Get a Topic's Title - Fluid Topics - 3.3 - Technical Notes

Integrate Fluid Topics APIs

Product
Fluid Topics
FT_Version
3.3
Category
Technical Notes
language
English
audience
public

It is possible to retrieve the titles of topics within a map using the Get a Topic web service:

/api/khub/maps/$MAP_ID/topics/$CONTENT_ID

Where:

  • /maps lists all maps stored on the Fluid Topics server.
  • /$MAP_ID retrieves metadata for a specific map. The map ID is given with /maps.
  • /topics lists all topics within the given map.
  • /$CONTENT_ID retrieves the title and metadata of a specific topic. The content ID is given with /topics.

For example, the Get a Topic web service returns the following information for the topic Introduction to Time Machines:

{
"title": "Introduction to Time Machines",
"id": "huzBwbbBW3WzTGHwshZIHg",
"contentApiEndpoint": "/api/khub/maps/LyJjWU3GD5rsUR76jUvd6Q/topics/huzBwbbBW3WzTGHwshZIHg/content",
"metadata": [
{
"key": "dita:ditavalPath",
"label": "dita:ditavalPath",
"values": [
"ft:empty"
]
},
...
]
}