Skip to main content
Query

profileViewContext

The typed context the profile editor combines with its live draft: media, showreels, credits, members, representation and linked profiles. Requires being signed in and able to edit the profile.

Arguments

  • editorBoolean!

    True for the editor's own view (private showreels, held-back media, members); false for the page as the public will see it.

  • profileIdID!

    ID of the profile.

  • refIds[ID!]

    IDs of other profiles the draft links to, so their names and pictures can be shown.

Returns

ProfileViewContext!

Example

query ProfileViewContext($editor: Boolean!, $profileId: ID!, $refIds: [ID!]) {
  profileViewContext(editor: $editor, profileId: $profileId, refIds: $refIds) {
    editor
    origin
    refIds
  }
}