Get the Metadata of a Topic's Resource - Fluid Topics - 3.6

Use Fluid Topics Web API

Product
Fluid Topics
FT_Version
3.6
Category
Technical Notes
language
English

This web service returns the metadata of a resource embedded in a given topic.

Method

Endpoint

GET

/api/khub/resources/$RESOURCE_ID

Where:

  • $RESOURCE_ID is the resource identifier.

Return codes

Return Code

Description

200 OK

Returns 0 or more results.

401 UNAUTHORIZED

Authentication required and user is not authenticated, or the ContentRepository rejected the query with a 401.

403 FORBIDDEN

The ContentRepository rejected the query with a 403.

404 NOT FOUND

The resource ID could not be found.

500 INTERNAL SERVER ERROR

The ContentRepository did not respond for any reason.

Output example

{
"id": "nISHR6wlEGgmuiROsyzWXg",
"filename": "image.tif",
"mimeType": "image/png"
}