Files

List directory content

get/api/v1/{tenant}/namespaces/{namespace}/files/directory

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/{tenant}/namespaces/{namespace}/files/directory
  • Auth: one of:
    • HTTP bearer
    • HTTP basic

Path parameters

namespacestring required

The namespace id

tenantstring required

Query parameters

pathstring nullable

The internal storage uri

Response

listNamespaceDirectoryFiles 200 response

fileNamestring
lastModifiedTimeinteger
creationTimeinteger
type'File' | 'Directory'
sizeinteger
metadataobject

Example response

[
  {
    "fileName": "fileName",
    "metadata": {
      "key": "metadata"
    },
    "lastModifiedTime": 0,
    "creationTime": 6,
    "size": 1,
    "type": "File"
  }
]

Changes

No recorded changes to this operation across all 7 revisions of this API.