Skip to main content
Mutation

setMainShowreel

Makes a public showreel the profile's main one for its purpose, or clears the main showreel. A profile has at most one main showreel per purpose. Returns the new main showreel, or null when cleared. Requires being signed in and able to edit the profile (an owner or admin member, or a member of a space that manages it).

Arguments

  • profileIdID!

    ID of the profile.

  • Which main showreel to clear when showreelId is null. Defaults to REEL. Ignored otherwise.

  • showreelIdID

    ID of the showreel to make main. It must be public. Null clears the main showreel.

Returns

Showreel

Example

mutation SetMainShowreel($profileId: ID!, $purpose: ShowreelPurpose, $showreelId: ID) {
  setMainShowreel(
    profileId: $profileId
    purpose: $purpose
    showreelId: $showreelId
  ) {
    createdAt
    deletedAt
    description
    id
    isMain
    itemCount
    position
    profileId
  }
}