Shotstash
API referenceGraphQL referenceObjects

Folder

A folder (section) inside a project. Folders nest.

A folder (section) inside a project. Folders nest.

Fields

  1. Folder
id*ID!

Unique id.

name*String!

Folder name.

project*

The project the folder belongs to.

parent?

The parent folder, null at the top level.

children*

Live child folders.

files*

Live files directly in this folder.

totalFiles*Int!

Number of live files directly in this folder.

contentSummary*

Counts of the content by kind, including every subfolder.

repFiles*

Representative files for the folder card, from the folder and every subfolder: a sample seeded by the folder id and the calendar date, computed on the server in the Asia/Jakarta time zone (fixed in the resolver, not SHOTSTASH_DEFAULT_TIMEZONE), so every request on the same day sees the same files.

Arguments

limitInt!*

How many files to return, 1 to 3 (INVALID_LIMIT otherwise); fewer when the folder has fewer files.

folderType?String

Optional folder type label, null when none.

trashedAt?DateTime

When the folder was moved to the trash, null while live.

createdAt*DateTime!

When the folder was created.

updatedAt*DateTime!

When the folder was last changed.