List a Map's Attachments - 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 lists the documents attached to a map. Information is provided for each document.

Method

Endpoint

GET

/api/khub/maps/$MAP_ID/attachments

Where:

  • $MAP_ID is the "id" parameter of the map.

Example

[
{
"name": "Qoala Team's Mascot",
"file": "lDt3nJ8.jpg",
"mimeType": "image/jpeg",
"externalLink": false
},
{
"name": "My Document Archive",
"file": "TN_WS_use_cases.zip",
"mimeType": "application/zip",
"externalLink": false
},
{
"name": "AI Templates",
"file": "Templates_(AI).pdf",
"mimeType": "application/pdf",
"externalLink": false
}
]

Where:

  • "name" is the name of the attachment.
  • "file" is the filename of the attachment.
  • "mimeType" is the mime type of the attachment.
  • "externalLink" is true if the file value is a URL. If not, it is false.

In this example, the map has three map attachments.