Skip to main content

SharedResourceData

Bootstrap payload for rendering a shared resource; this is metadata only, with auth_token used to authorize subsequent resource-specific queries.

type SharedResourceData {
resourceType: SharedUrlType!
resourceId: ID!
userId: Int!
source: SharedSource!
siteId: Int
siteName: String
authToken: ID!
fragment: String
}

Fields​

SharedResourceData.resourceType ● SharedUrlType! non-null enum​

SharedResourceData.resourceId ● ID! non-null scalar​

Resource query id; recordings use the hashed playback id rather than the numeric id accepted by sharedUrl.

SharedResourceData.userId ● Int! non-null scalar​

Owner account id for the shared resource.

SharedResourceData.source ● SharedSource! non-null object​

SharedResourceData.siteId ● Int scalar​

Source site id; null for Google Analytics property shares.

SharedResourceData.siteName ● String scalar​

Source site name; null for Google Analytics property shares.

SharedResourceData.authToken ● ID! non-null scalar​

Expiring shared-resource access token for follow-up queries.

SharedResourceData.fragment ● String scalar​

Fragment preserved from a Heatmap's original URL; null for other resources or when absent.

Implemented By​

SharedResource union