Shotstash
API referenceGraphQL referenceQueries

Mention People

People who may view the project, for the mention dropdown (at most 20). FEATURE_DISABLED while discussion is off.

People who may view the project, for the mention dropdown (at most 20). FEATURE_DISABLED while discussion is off.

Arguments

projectId*ID!

Project id.

query?String

Only people whose name contains this text.

Returns

[MentionPerson!]!
  1. returns

A person the mention dropdown offers: an account that may view the project. Typing @handle notifies them.

id*ID!

User id.

name*String!

Display name.

handle*String!

The handle to type after @.

role*Role!

The person's role.

Values

SUPER_ADMIN

Owns the instance: every permission, including instance settings and workers.

ADMIN

Manages users, projects and every team share link.

FIELD_CREW

Uploads and organizes media in the field.

EDITOR

Works with media: uploads, organizes and processes files.

VIEWER

Views projects and media only.

query MentionPeople($projectId: ID!) {  mentionPeople(projectId: $projectId) {    id    name    handle    role  }}