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.
purposeShowreelPurposeWhich main showreel to clear when
showreelIdis null. Defaults toREEL. Ignored otherwise.showreelIdIDID of the showreel to make main. It must be public. Null clears the main showreel.
Returns
ShowreelExample
mutation SetMainShowreel($profileId: ID!, $purpose: ShowreelPurpose, $showreelId: ID) {
setMainShowreel(
profileId: $profileId
purpose: $purpose
showreelId: $showreelId
) {
createdAt
deletedAt
description
id
isMain
itemCount
position
profileId
}
}