Shotstash
API referenceGraphQL referenceInput Objects

ShareLinkInput

A new share link. Set exactly one of fileId, folderId and projectId.

A new share link. Set exactly one of fileId, folderId and projectId.

Fields

  1. ShareLinkInput
fileId?ID

Share this file.

folderId?ID

Share this folder.

projectId?ID

Share this project.

mode*ShareMode!

Who may open the link.

Values

PUBLIC

Anyone with the link.

PRIVATE

Anyone with the link and its access code.

expiresInHours?Int

Hours until the link expires; omit for no expiry.