Admin API / Types
UpdateLivestreamPayload
UnionThe result of updateLivestream. CollectionsNotAssignableError: one or more collectionIds cannot hold the livestream. LivestreamNotFoundError: the caller reads no livestream with this ID. LivestreamStateConflictError: the livestream is CANCELLED, or the input has startAt and the livestream is not SCHEDULED. MediaFileUrlNotUsableError: thumbnailFileUrl cannot be used. MediaNotFoundError, MediaNotUsableError: thumbnailId cannot be used. UnauthorizedError: the caller does not host the livestream, does not act for its host, and is below the ADMIN role, or a named collection is ADMINS_ONLY and the caller is below the ADMIN role (requiredRole: ADMIN for both). An error member writes nothing.
union UpdateLivestreamPayload = CollectionsNotAssignableError | LivestreamNotFoundError | LivestreamStateConflictError | MediaFileUrlNotUsableError | MediaNotFoundError | MediaNotUsableError | UnauthorizedError | UpdateLivestreamSuccessMembers
CollectionsNotAssignableErrorLivestreamNotFoundErrorLivestreamStateConflictErrorMediaFileUrlNotUsableErrorMediaNotFoundErrorMediaNotUsableErrorUnauthorizedErrorUpdateLivestreamSuccess