Call Syntax

API calls to Bits on the Run are in essence just HTTP requests to a specific location. The parameters of each call can be sent using either POST or GET. A number of parameters are always required: those for signing the call and the one for defining the output format.

Syntax

The API has a single entry point (api.bitsontherun.com) that can work with multiple input/output formats. For the input, both GET and POST requests are accepted. The call syntax is:

<http|s>://<APIserver>/<APIversion>/<callClass>/<callSubclass>/<method|attribute>[?<parameters>]
http|s
Connection protocol: HTTP or HTTPS
APIserver
API server i.e: api.bitsontherun.com
APIversion
API version
callClass
Class of the API call
callSubclass
Subclass of the API call
method|attribute
API call method or attribute
parameters
API call parameters

In cases where large binary data is submitted (videos and images), this data should be included in the body of the HTTP POST request. The binary data should be included as-is, without any encoding.

Required parameters

In addition to the call-specific parameters, each API call MUST always include the following parameters:

api_format
Specifies the API call output format.
api_key
API key.
api_timestamp
API timestamp.
api_nonce
API nonce.
api_signature
API signature.
Previous page | Table of contents | Next page
Amazon Cloudfront

Amazon Cloudfront

Using Amazon Web Services? Then setup your account to store and stream video using AWS.

We are hiring

We are hiring

Looking to join a cutting edge online video company? Then send us your resume.

Pay as you go

Pay as you go

No commits, no monthly fees. Only pay for what you use. Replenish your account