Skip to main content

Update a profile set

PUT 

https://api.one.blendvision.com/bv/configuration/v1/profile-sets/:id

Modifies the details of an existing profile set using the specified id.

Request

Path Parameters

    id stringrequired

    Required. The resource identifier of profile set.

Header Parameters

    x-bv-org-id stringrequired

    To invoke this API using api_token, you need to set the x-bv-org-id header to specify the organization for which you want to perform the action.

Body

required
    profile_set objectrequired

    Required.

    name string

    Input only. The name of profile set.

    protocols - PROTOCOL_HLS: HTTP Live Streaming - PROTOCOL_DASH: Dynamic Adaptive Streaming over HTTP - PROTOCOL_WHEP: WebRTC-HTTP Egress Protocol - PROTOCOL_PROGRESSIVE: Progressive download (string)[]

    Possible values: [PROTOCOL_HLS, PROTOCOL_DASH, PROTOCOL_WHEP, PROTOCOL_PROGRESSIVE]

    Input only. The protocols.

    smart_abr boolean

    Input only. Smart abr.

    multiple_audio_track object

    Input only.

    lang_from string

    Possible values: [LANG_FROM_SOURCE, LANG_FROM_CUSTOMIZE, LANG_FROM_FIRST_TRACK]

    lang_customizes object[]
  • Array [
  • code string

    The language code of the audio track. The format is ISO639-1+ISO-3166-1 (e.g., en-US).

    display string
  • ]
  • video_codec - VIDEO_CODEC_H264: VIDEO_CODEC_H264 Indicates video code H.264 - VIDEO_CODEC_H265: VIDEO_CODEC_H265 Indicates video code H.265 (string)

    Possible values: [VIDEO_CODEC_H264, VIDEO_CODEC_H265]

    Input only. The video codec.

    profile_ids string[]required

    Required. The maximum number of appended profiles is 10.

Responses

A successful response.

Schema
    profile_set object
    id string

    Output only. The resource identifier of profile set.

    name string

    Input only. The name of profile set.

    protocols - PROTOCOL_HLS: HTTP Live Streaming - PROTOCOL_DASH: Dynamic Adaptive Streaming over HTTP - PROTOCOL_WHEP: WebRTC-HTTP Egress Protocol - PROTOCOL_PROGRESSIVE: Progressive download (string)[]

    Possible values: [PROTOCOL_HLS, PROTOCOL_DASH, PROTOCOL_WHEP, PROTOCOL_PROGRESSIVE]

    Input only. The protocols.

    smart_abr boolean

    Input only. Smart abr.

    multiple_audio_track object

    Input only.

    lang_from string

    Possible values: [LANG_FROM_SOURCE, LANG_FROM_CUSTOMIZE, LANG_FROM_FIRST_TRACK]

    lang_customizes object[]
  • Array [
  • code string

    The language code of the audio track. The format is ISO639-1+ISO-3166-1 (e.g., en-US).

    display string
  • ]
  • video_codec - VIDEO_CODEC_H264: VIDEO_CODEC_H264 Indicates video code H.264 - VIDEO_CODEC_H265: VIDEO_CODEC_H265 Indicates video code H.265 (string)

    Possible values: [VIDEO_CODEC_H264, VIDEO_CODEC_H265]

    Input only. The video codec.

    profiles object[]

    Output only.

  • Array [
  • id string

    Output only. The resource identifier of profile.

    name string

    Input only. The name of profile.

    video_codec - VIDEO_CODEC_H264: VIDEO_CODEC_H264 Indicates video code H.264 - VIDEO_CODEC_H265: VIDEO_CODEC_H265 Indicates video code H.265 (string)

    Possible values: [VIDEO_CODEC_H264, VIDEO_CODEC_H265]

    Input only. The video codec.

    video_width int32

    Input only. The video width in pixels.

    video_height int32

    Input only. The video height in pixels.

    video_bitrate int64

    Input only. The video bitrate.

    audio_bitrate int64

    Input only. The audio bitrate.

    codec_profile string

    Possible values: [CODEC_PROFILE_AUTO, CODEC_PROFILE_BASELINE, CODEC_PROFILE_MAIN, CODEC_PROFILE_HIGH, CODEC_PROFILE_MAIN10]

    Input only. H.264/H.265 codec profile.

    level string

    Possible values: [CODEC_PROFILE_LEVEL_AUTO, CODEC_PROFILE_LEVEL_1, CODEC_PROFILE_LEVEL_1_1, CODEC_PROFILE_LEVEL_1_2, CODEC_PROFILE_LEVEL_1_3, CODEC_PROFILE_LEVEL_2, CODEC_PROFILE_LEVEL_2_1, CODEC_PROFILE_LEVEL_2_2, CODEC_PROFILE_LEVEL_3, CODEC_PROFILE_LEVEL_3_1, CODEC_PROFILE_LEVEL_3_2, CODEC_PROFILE_LEVEL_4, CODEC_PROFILE_LEVEL_4_1, CODEC_PROFILE_LEVEL_4_2, CODEC_PROFILE_LEVEL_5, CODEC_PROFILE_LEVEL_5_1, CODEC_PROFILE_LEVEL_5_2, CODEC_PROFILE_LEVEL_6]

    Input only. Specify level for H.264/H.265.

    b_frame boolean

    Input only. Enable/Disable B-frame.

    frame_rate string

    Possible values: [FRAME_RATE_10, FRAME_RATE_15, FRAME_RATE_23_97, FRAME_RATE_24, FRAME_RATE_25, FRAME_RATE_29_97, FRAME_RATE_30, FRAME_RATE_50, FRAME_RATE_59_94, FRAME_RATE_60, FRAME_RATE_SOURCE]

    Input only. The video frame rate.

    gop_size int32

    Input only. GOP size (keyframe interval) in seconds.

    segment_duration int32

    Input only. Length of video duration for each segment package in seconds.

    preset Output only. Preset is system or custom (boolean)
    standard Output only. Standard is sd|hd|fhd|4k (string)

    Possible values: [RESOLUTION_TYPE_SD, RESOLUTION_TYPE_HD, RESOLUTION_TYPE_FHD, RESOLUTION_TYPE_4K]

  • ]
  • preset boolean

    Output only. The prest is system or custom. If preset is true, the profile set is created by system, otherwise the profile set is created by custom.

Authorization: authorization

name: authorizationtype: apiKeydescription: Enter the token with Bearer schema prefix, eg. `Bearer <token-string>`in: header
curl -L -X PUT 'https://api.one.blendvision.com/bv/configuration/v1/profile-sets/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'authorization: <API_KEY_VALUE>' \
-d '{
"profile_ids": [
"1024fed8-f8b9-4b54-99b2-85688296638a",
"77a94c55-57f7-419d-8520-ee288251a748",
"e11f00a6-9989-4ffe-b685-acea84ab85dd"
],
"profile_set": {
"multiple_audio_track": {
"lang_customizes": [],
"lang_from": "LANG_FROM_FIRST_TRACK"
},
"name": "test1",
"protocols": [
"PROTOCOL_DASH"
],
"smart_abr": false,
"video_codec": "VIDEO_CODEC_H264"
}
}'
Request Collapse all
Base URL
https://api.one.blendvision.com
Auth
Parameters
— pathrequired
— headerrequired
Body required
{
"profile_ids": [
"1024fed8-f8b9-4b54-99b2-85688296638a",
"77a94c55-57f7-419d-8520-ee288251a748",
"e11f00a6-9989-4ffe-b685-acea84ab85dd"
],
"profile_set": {
"multiple_audio_track": {
"lang_customizes": [],
"lang_from": "LANG_FROM_FIRST_TRACK"
},
"name": "test1",
"protocols": [
"PROTOCOL_DASH"
],
"smart_abr": false,
"video_codec": "VIDEO_CODEC_H264"
}
}
ResponseClear

Click the Send API Request button above and see the response here!