Add Profile(s) to Video Preset

Adds profiles to a video preset. Profiles are given by Uiza and cannot be changed. Maximum number of profiles is determined by User's Tier (Developer - 1, Team - 3, Business - 6).

/v1/video_presets/:id:add_profiles

POST https://api.uiza.sh/v1/video_presets/:id:add_profiles

Path Parameters

Name
Type
Description

id

string

The unique identifier of your video preset to be retrieve.

Request Body

Name
Type
Description

profile_ids

string

The identifier of the video profile to be add to this preset. You can add multiple profile by adding multiple profile ids separate by ,

{
    "id": "3693d866-1577-48f4-a97c-6e15765ba0fe",
    "name": "Uiza LIVE 480p",
    "description": "",
    "is_default": true,
    "profiles": [
        {
            "id": "735299b7-5988-11ea-883b-028fc5698662",
            "name": "480p H264 30fps Normal Latency",
            "segment_duration": 4,
            "orientation": "landscape",
            "video_profile": {
                "video_resolution": "480",
                "video_codec": "H264",
                "video_bitrate": "1000K",
                "video_frame_rate": "30"
            },
            "audio_profile": {
                "audio_channel": "2",
                "audio_codec": "AAC",
                "audio_bitrate": "128K",
                "audio_frame_rate": "1"
            }
        },
        {
            "id": "85844e8b-6281-11ea-883b-028fc5698662",
            "name": "720p H264 30fps Normal Latency",
            "segment_duration": 4,
            "orientation": "landscape",
            "video_profile": {
                "video_resolution": "720",
                "video_codec": "H264",
                "video_bitrate": "2000K",
                "video_frame_rate": "30"
            },
            "audio_profile": {
                "audio_channel": "2",
                "audio_codec": "AAC",
                "audio_bitrate": "128K",
                "audio_frame_rate": "1"
            }
        }
    ],
    "created_at": "2020-02-28T01:32:31Z",
    "updated_at": "2020-02-29T17:09:15Z"
}
Sample Request
curl --location --request POST 'https://api.uiza.sh/v1/video_presets/3693d866-1577-48f4-a97c-6e15765ba0fe:add_profiles' \
--header 'Authorization: uap-a1c559e57f5846d39ec50b2df062caf8-b1cef5b6' \
--data-raw '{
	"profile_ids": "85844e8b-6281-11ea-883b-028fc5698662,735299b7-5988-11ea-883b-028fc5698662"
}'

Last updated