ShareLink
A public share link. Returned by createShareLink (with the one-time plaintext
slug) and by revokeShareLink (with slug empty — it is never re-derivable).
type ShareLink {
id: ID!
slug: String!
resourceType: ShareResourceType!
resourceID: ID!
projectionLevel: ShareProjectionLevel!
audience: ShareAudience!
allowIndex: Boolean!
expiresAt: Time
revokedAt: Time
viewCount: Int!
createdAt: Time!
}
Fields
ShareLink.id ● ID! non-null scalar
ShareLink.slug ● String! non-null scalar
The plaintext slug. Populated ONLY in the createShareLink response — it is never stored and cannot be recovered later, so it is empty on every other path. The caller composes the share URL from it.
ShareLink.resourceType ● ShareResourceType! non-null enum
ShareLink.resourceID ● ID! non-null scalar
ShareLink.projectionLevel ● ShareProjectionLevel! non-null enum
ShareLink.audience ● ShareAudience! non-null enum
ShareLink.allowIndex ● Boolean! non-null scalar
ShareLink.expiresAt ● Time scalar
ShareLink.revokedAt ● Time scalar
ShareLink.viewCount ● Int! non-null scalar
ShareLink.createdAt ● Time! non-null scalar
Returned By
createShareLink mutation ● revokeShareLink mutation