Library
Authenticated by the __Host-sorai_library cookie; the entitlement
is re-checked on every request. The URL expires on its own: video
URLs live for about an hour (seeking re-requests the source), file
downloads for a few minutes. Request a fresh URL when playback hits
a 403.
lessonId*stringuuidA short-lived media URL.
application/jsonurl*stringA short-lived link straight to the media; never cache it.
urikind*string"video""file"filename?stringexpires_at*stringdate-timecurl -X GET 'https://api.sorai.ai/v1/public/library/lessons/497f6eca-6276-4993-bfeb-53cbbbba6f08/media'{ "url": "http://example.com", "kind": "video", "filename": "string", "expires_at": "2019-08-24T14:15:22Z"}