Welcome to
7P api docs
This is the official documentation for 7P api, here you will find all the information you need to integrate with 7P api. Omega is a very simple serverless on-demand video streaming service, that enables you to Upload, store, encode and deliver live and on-demand video with one API easily and with the latest technology. To learn more about our plans and our features head to 7P.
Getting Started
To get started with 7P api you need to create an account and get your api key, you can do that from here. After signing up to your preferred plan, you can create your API key from the Developer page.
TUS Resumable Upload
The resumable upload endpoint allows resumable and presigned uploads of video files. This allows end-users to upload directly to Omegastream and greatly improves reliability on poor networks and mobile connections.
The endpoint uses the open protocol for resumable file uploads called tus. Before a video can be uploaded through the tus endpoint a video object must be created through the Create Video call to obtain the video ID.
Authentication
To authenticate a request, two headers must be passed with the tus upload.
Signature
: should contain the pre-generated SHA256 header.Expiration
: should contain the UNIX timestamp of the upload expiration time.Video-Id
: should contain the video ID of the previously created video object.
Video Metadata Parameters
filetype
: should contain the file type of the uploaded video.fileName
: should contain the file name of the uploaded video.
Presigned Request Signature Generation
To generate the authorization signature, the following pseudo-function should be used: