Skip to main content

ShareLinkInfo

Revocation-safe METADATA for one existing share link, returned by sharesForResource so the publish drawer can list and revoke links across sessions. It NEVER contains the slug or slug_hash (the slug is shown exactly once at creation and is not re-derivable), nor owner_id / resource ids.

type ShareLinkInfo {
id: ID!
audience: ShareAudience!
projectionLevel: ShareProjectionLevel!
allowIndex: Boolean!
createdAt: Time!
viewCount: Int!
lastViewedAt: Time
revokedAt: Time
expiresAt: Time
}

Fields

ShareLinkInfo.id ● ID! non-null scalar

ShareLinkInfo.audience ● ShareAudience! non-null enum

ShareLinkInfo.projectionLevel ● ShareProjectionLevel! non-null enum

ShareLinkInfo.allowIndex ● Boolean! non-null scalar

ShareLinkInfo.createdAt ● Time! non-null scalar

ShareLinkInfo.viewCount ● Int! non-null scalar

ShareLinkInfo.lastViewedAt ● Time scalar

ShareLinkInfo.revokedAt ● Time scalar

ShareLinkInfo.expiresAt ● Time scalar

Returned By

sharesForResource query