Skip to main content
Mutation

mintCastingTapeUpload

Adds a casting tape the casting team uploads (session footage, or a self-tape that reached them another way) and returns where to upload its file. Requires edit access to the project's casting. A video counts towards the space's video minutes. Fails with CASTING_TAPE_INVALID when an applicant or the session is not on the project, or the file type or size is not accepted.

Arguments

Returns

CastingTapeUpload!

Example

mutation MintCastingTapeUpload($input: MintCastingTapeUploadInput!) {
  mintCastingTapeUpload(input: $input) {
    imageUploadTarget {
      expiresAt
      method
      objectKey
      uploadUrl
    }
    tape {
      castingSubmissionIds
      createdAt
      fieldId
      hlsUrl
      id
      iframeUrl
      kind
      label
    }
    videoUploadTarget {
      method
      streamUid
      uploadUrl
    }
  }
}