# API # API Documentation ## Contents [Parameters](http://docs.streamengine.igolgi.com/books/igolgi-stream-engine/page/api-documentation#bkmrk-parameters) [Cloud Credentials](http://docs.streamengine.igolgi.com/books/igolgi-stream-engine/page/api-documentation#bkmrk-cloud-credentials) [Cloud Credentials Input/Output](http://docs.streamengine.igolgi.com/books/igolgi-stream-engine/page/api-documentation#bkmrk-cloud-credentials-in) [Audio Profiles](http://docs.streamengine.igolgi.com/books/igolgi-stream-engine/page/api-documentation#bkmrk-audio-profiles) [Video Profiles](http://docs.streamengine.igolgi.com/books/igolgi-stream-engine/page/api-documentation#bkmrk-video-profiles) [Supported Containers and Codecs](http://docs.streamengine.igolgi.com/books/igolgi-stream-engine/page/api-documentation#bkmrk-supported-containers) [Creating Jobs](http://docs.streamengine.igolgi.com/books/igolgi-stream-engine/page/creating-curl-jobs) [ Using the API from within Python](http://docs.streamengine.igolgi.com/books/igolgi-stream-engine/page/code) [Retrieving a Sent Job](http://docs.streamengine.igolgi.com/books/igolgi-stream-engine/page/creating-curl-jobs#bkmrk-retrieving-a-sent-jo) ### Parameters #### input or not to use this input. This will be an object key if using a cloud provider, or a regular URL otherwise.
Type | Required | Default |
---|---|---|
string | Yes |
Type | Required | Default |
---|---|---|
array | Yes |
Type | Required | Default |
---|---|---|
array | Yes |
Type | Required | Default |
---|---|---|
string | No | mp4 |
Type | Required | Default |
---|---|---|
number | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
boolean | No | false |
Type | Required | Default |
---|---|---|
boolean | No | false |
Type | Required | Default |
---|---|---|
boolean | No | false |
Type | Required | Default |
---|---|---|
number | No |
Type | Required | Default |
---|---|---|
string | No | h.264 |
Type | Required | Default |
---|---|---|
number | No |
Type | Required | Default |
---|---|---|
number | No | 1 |
Type | Required | Default |
---|---|---|
boolean | No | false |
Type | Required | Default |
---|---|---|
number | No |
Type | Required | Default |
---|---|---|
boolean | No |
Type | Required | Default |
---|---|---|
number | No | 100 |
Type | Required | Default |
---|---|---|
string | No | good |
Type | Required | Default |
---|---|---|
string | No | passthrough |
Type | Required | Default |
---|---|---|
number | No |
Type | Required | Default |
---|---|---|
boolean | No |
Type | Required | Default |
---|---|---|
boolean | No | false |
Type | Required | Default |
---|---|---|
boolean | No | true |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
object | Yes |
Type | Required | Default |
---|---|---|
object | Yes |
Type | Required | Default |
---|---|---|
object | Yes |
Type | Required | Default |
---|---|---|
string | Yes | oracle |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
string | No | aac |
Type | Required | Default |
---|---|---|
string | No | 2 |
Type | Required | Default |
---|---|---|
string | No | 256 |
Type | Required | Default |
---|---|---|
boolean | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
number | No |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
number | Yes |
Type | Required | Default |
---|---|---|
number | Yes |
Type | Required | Default |
---|---|---|
string | No |
Type | Required | Default |
---|---|---|
number | Yes |
Type | Required | Default |
---|---|---|
string | No | 1x |
Type | Required | Default |
---|---|---|
string | No |
curl https://streamengine.igolgi.com/api/v0/job \\ --request POST \\ -u 0123456789abcdefghijklmnop:a \\ --header 'Content-Type: application/json' \\ -d '{ "videoProfiles": \[ { "width": 960, "height": 544, "video\_bitrate": 750, "video\_framerate": "1x", "audio\_profiles": "0" } \], "master\_variant\_mode": false, "segmented\_output\_dash": false, "output\_container": "mp4", "picture\_transform": "none", "logo\_url": null, "audio\_volume": 100, "closed\_captions": false, "create\_tar\_file": false, "gop\_length": 2, "h264\_quality": "better", "scte35\_pid\_remap": -1, "video\_aspect\_ratio": "passthrough", "rotation\_blackness": 0, "scte35\_passthough": false, "segmented\_output\_hls": false, "ip\_distance": 2, "audioProfiles": \[ { "audio\_codec": "aac", "audio\_channels": 2, "audio\_bitrate": 256, "primary\_audio\_downmix\_to\_stereo": false, "source\_stream": 1 } \], "input": "s3://igolgi-se-in/GOPR8286-720-120fps.MP4", "cloud\_credentials": { "input": { "cloud\_provider": "aws", "access\_key": "ABCDEFGHIJKLMNOPQRST", "secret\_key": "AaBbCcDdEeFfGgHhIiJjKkLlMm+/NnOoPpQqRrSsTtUuVvWwXxYyZz", "region": "us-east-2", "tenancy\_ocid": null, "user\_ocid": null, "oci\_fingerprint": null }, "output": { "cloud\_provider": "igolgi-store", "access\_key": null, "secret\_key": null, "region": "ca-toronto-1", "tenancy\_ocid": null, "user\_ocid": null, "oci\_fingerprint": null } }, "force\_progressive": true, "keep\_fps": true, "video\_codec": "h.264" }' | application server url link **POST** - sends the following data to the server link above **-u** (user account, get api key) **:a** is for auto login, otherwise it will prompt for a password. This tells what format the code is in "json" format -d run all code between '{ ... }' |