Get an Unstructured Document's Metadata - 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

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",
"lastEdition": "2020-02-12",
"lastPublication": "2020-01-30T13:32:14.569295",
"baseId": "standard-time-zones-of-the-world",
"originId": "documents/standard_time_zones_of_the_world.png",
"clusterId": "standard-time-zones-of-the-world",
"description": "standard time zones of the world",
"khubVersion": "3.7.6",
"openMode": "FLUIDTOPICS",
"prettyUrl": "/v/u/standard-time-zones-of-the-world",
"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"
]
}
]
}