Shotstash
API referenceGraphQL referenceQueries

Storage Stats

Storage usage of the instance. Needs instance.configure.

Storage usage of the instance. Needs instance.configure.

Returns

StorageStats!
  1. returns

Storage usage of the instance.

backend*String!

Storage backend: local or s3.

totalSpace?Float

Disk size in bytes; null when the backend cannot tell (S3).

usedSpace*Float!

Bytes used by stored media.

freeSpace?Float

Free disk space in bytes; null when the backend cannot tell (S3).

totalFiles*Int!

Number of files.

totalProjects*Int!

Number of projects.

query StorageStats {  storageStats {    backend    totalSpace    usedSpace    freeSpace    totalFiles    totalProjects  }}