Search Map Titles - Fluid Topics - 3.4

Integrate Fluid Topics API

Product
Fluid Topics
FT_Version
3.4
Category
Technical Notes

The List Maps web service returns the list of the publication maps available on the portal:

/api/khub/maps
Note: User rights are taken into account when the appropriate Authorization header is provided, otherwise only public results are returned.

Before Fluid Topics v3.4.12, Fluid Topics systematically used a prefixed version of the header: FT-Authorization.

From Fluid Topics v3.4.12, both prefixed and not prefixed headers work.

The output lists all maps found on the Fluid Topics server.

For each map, endpoints are given. They allow you to retrieve all content for a given map.

Note: Clustering is not available for this web service.
The following lines show an example of the List Maps web service implementation in Python.
#!/usr/bin/env python3
import requests
FT_SERVER_URL = 'https:// <host>/<tenantId>/'
                
#
MAPS_ENDPOINT = '/api/khub/maps'
                
# 
HEADERS = {'Authorization': 'Basic ...'}
                
# 
def crawl_maps():
   URL = FT_SERVER_URL + MAPS_ENDPOINT
...
                
# 
def crawl_map(map_preview):
   URL = FT_SERVER_URL + map_preview['mapApiEndpoint']
...
Tip: Use a REST Client tool like Postman to retrieve the Basic authentication key.
The Basic authentication key can be retrieved using Postman

After listing the maps, endpoints can be used to go deeper into the maps and retrieve information.

Note: This web service could also be used to retrieve metrics as it exhaustively lists all publications on the FT server.