Files

Get namespace file stats such as size, creation & modification dates and type

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

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/stats
  • 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

getFileMetadatas 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.