Scheduling recordings using the Panopto REST API (v1) - Error: UnsupportedApiVersion
Hello, I need help with scheduling recordings using the Panopto REST API (v1)
I’ve registered an OAuth2 client with the type "Server-side Web Application".
I'm using the Authorization Code Flow and successfully receiving an access token.
I’m sending a POST request to this endpoint:
https://umch.cloud.panopto.eu/Panopto/api/v1/sessions
However, the API responds with:
"Error": {
"Code": "UnsupportedApiVersion",
"Message": "The HTTP resource that matches the request URI does not support the API version '1'."
}
My questions:
1. Is the endpoint `/api/v1/sessions` correct for scheduling remote recordings?
2. Is this endpoint supported and enabled for my Panopto instance?
3. Are there any additional permissions or configuration settings needed for my OAuth2 client or user account?
4. If this endpoint is not available, which one should I use to schedule recordings?
I have also reviewed this documentation:
👉 [https://umch.cloud.panopto.eu/Panopto/api/docs/index.html#/](https://umch.cloud.panopto.eu/Panopto/api/docs/index.html#/)
Thank you for your assistance!
Best Answer
-
Adis Hrnjica Whiz Kid
Hi Sebastian,
It seems you are using wrong endpoint, and for scheduled recordings we have several endpoints to manage them.
For creating new scheduled recording you need to use following endpoint:
CreateScheduledRecording
Let me know if you need any additional help.Thanks,
Adis
0
Answers
Hi Adis,
thanks for pointing me to the CreateScheduledRecording endpoint. We’ve switched the integration over to that and scheduling works perfectly now.
One thing I’m still trying to solve is how to upload a preview/thumbnail image for the newly created scheduled recording. The legacy endpoint at /Panopto/api/v1/sessions/{sessionId}/previewImage keeps returning 404 immediately after we create the schedule, and /Panopto/api/v1/scheduledRecordings/{sessionId}/previewImage behaves the same.
Could you let me know the supported way to attach a preview image to a scheduled recording created through the new API? For example:
Any guidance or doc link would be very helpful. Thanks again for your assistance!
Best regards,
Sebastian
Hi Sebastian,
I think we don't currently support adding preview image to the scheduled recordings through the API.
I hope we will work on this in the future since it makes sense to have ability to upload custom preview.
Thanks,
Adis