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

Integrate Fluid Topics APIs

Product
Fluid Topics
Fluid Topics Version
3.10
Category
Technical Notes
Language
English
Target 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"
]
},
...
]
}