Get the Metadata of a Topic's Resource - Fluid Topics - 3.2 - Reference Guides

Fluid Topics API Reference Guide

Product
Fluid Topics
Fluid Topics Version
3.2
Category
Reference Guides
Language
English
Target Audience
public

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"
}