Admin API / Types

AddLivestreamProductsPayload

Union

The result of addLivestreamProducts. LivestreamNotFoundError: the caller reads no livestream with this ID. LivestreamStateConflictError: the livestream is ENDED or CANCELLED. UnauthorizedError: the caller reads the livestream but does not host it, is not a joined cohost and is below the ADMIN role (requiredRole is ADMIN), or cannot go live (requiredRole is MODERATOR when only the go-live permission is missing, else null). An error member writes nothing.

union AddLivestreamProductsPayload = AddLivestreamProductsSuccess | LivestreamNotFoundError | LivestreamStateConflictError | UnauthorizedError

Members

Returned by