Create direct upload ID & direct upload URL for session / exhibitor / lobby. For direct upload session/exhibitor/lobby, first, you need to create direct upload assets on MUX. To do this you need to call this API which will prepare direct upload assets on MUX and will return directUploadId and directUploadUrl in response.
directUploadId is a unique reference to uploaded video, and it can be used to get further details about created assets to check this API (https://developer.accelevents.com/reference/update-upload-id-and-file-name).
directUploadUrl is an endpoint where the uploaded video will be stored and used by MUX. Once assets are prepared using this API in the next step, you need to upload a video (https://docs.mux.com/guides/video/upload-files-directly) to directUploadUrl for streaming.
To call this API you need to send sessionId as path parameters.
For creating direct upload assets for exhibitor/lobby users, need to pass 0 as sessionId in the path parameter in this API.
This API can be used by authenticated users only, and it will require super admin/admin/staff level access.