Vai al contenuto principale
Query

profileForEdit

Returns the profile as its draft shows it, with team members and private showreels, for the profile editor. Requires being signed in and able to edit the profile (an owner or admin member, or a member of a space that manages it).

Argomenti

  • profileIdID!

    ID of the profile.

  • seenString

    The editor's draft state from its live editing session. When given, the read waits until the draft includes those edits. Omit outside the editor.

Restituisce

Profile

Esempio

query ProfileForEdit($profileId: ID!, $seen: String) {
  profileForEdit(profileId: $profileId, seen: $seen) {
    canEdit
    contentLocale
    coverImageAssetId
    createdAt
    departments
    displayName
    id
    kind
  }
}