sharesForResource
List revocation-safe METADATA for every share link of a resource the caller can edit. AUTHENTICATED; authorization is enforced in the resolver ("edit" on the resource's owning workspace), generic over resourceType. NEVER returns the slug. Lets the publish drawer list + revoke existing links across sessions.
sharesForResource(
resourceType: ShareResourceType!
resourceID: ID!
): [ShareLinkInfo!]!
Arguments
sharesForResource.resourceType ● ShareResourceType! non-null enum
sharesForResource.resourceID ● ID! non-null scalar
Type
ShareLinkInfo object
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.