List custom code files - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

This web service allows ADMIN users to retrieve files stored in the Custom code library.

Method Endpoint
GET
/api/admin/portal/custom-code

Response body

{
  "totalSize": 8751,
  "files": [
    {
      "subPath": "custom.js",
      "mimeType": "application/javascript",
      "lastUpdate": "1970-01-01T00:00:00Z",
      "size": 7459
    },
    {
      "subPath": "custom.less",
      "mimeType": "text/plain",
      "lastUpdate": "2024-05-31T09:01:41.253Z",
      "size": 1127
    },
    {
      "subPath": "foo/script-from-the-db-storage.js",
      "mimeType": "application/javascript",
      "lastUpdate": "2024-05-31T14:24:53.141788Z",
      "lastAccess": "2024-05-31T14:24:56.787718Z",
      "size": 23
    },
    {
      "subPath": "script-from-the-legacy-filesystem-storage.js",
      "mimeType": "application/javascript",
      "lastUpdate": "1970-01-01T00:00:00Z",
      "size": 142
    }
  ]
}