Shotstash
API referenceGraphQL referenceObjects

ProjectSummary

A project in the project list: the same fields as Project without chats, so asking projects { chats } is a schema error; the discussion loads per project through project(id).

A project in the project list: the same fields as Project without chats, so asking projects { chats } is a schema error; the discussion loads per project through project(id).

Returned by

Fields

  1. ProjectSummary
id*ID!

Unique id.

title*String!

Project title.

description?String

Optional description.

coverImage?String

Cover image URL, null when none.

status*ProjectStatus!

Lifecycle state.

Values

ACTIVE

In use and shown in the project list.

ARCHIVED

Finished and kept for reference.

DRAFT

Being prepared and not yet in active use.

files*

Live files directly in the project.

folders*

Live folders of the project.

totalFiles*Int!

Number of live files.

totalSize*BigInt!

Total size of the live files in bytes.

contentSummary*

Counts of the project content by kind.

repFiles*

Representative files for the project card: a sample seeded by the project 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 whatever the client time zone.

Arguments

limitInt!*

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

createdAt*DateTime!

When the project was created.

updatedAt*DateTime!

When the project was last changed.