Get an Unstructured Document's Metadata - Fluid Topics - 3.1 - Technical Notes

Integrate Fluid Topics APIs

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

The Get an Unstructured Document's Metadata web service retrieves the title and metadata of an unstructured document:

/api/khub/documents/$DOC_ID

Where:

  • /documents lists all the unstructured documents stored on the Fluid Topics server.
  • /$DOC_ID retrieves all information about the document. The document ID is given with /documents.

The output returns a list of all metadata keys and values associated with the unstructured document.

For example, calling /api/khub/documents/n4cQEkKM8SM1f3zRPe_Bfg returns the following JSON output containing data about the image "Standard Time Zones of the World":

{
"id": "n4cQEkKM8SM1f3zRPe_Bfg",
"filename": "standard_time_zones_of_the_world.png",
"title": "standard_time_zones_of_the_world.png",
"mimeType": "image/png",
"rightsApiEndpoint": "/api/khub/documents/n4cQEkKM8SM1f3zRPe_Bfg/rights",
"contentApiEndpoint": "/api/khub/documents/n4cQEkKM8SM1f3zRPe_Bfg/content",
"viewerUrl": "/v/u/standard-time-zones-of-the-world",
"metadata": [
{
"key": "ud:id",
"label": "ud:id",
"values": [
"standard_time_zones_of_the_world.png"
]
}
]
}