Output Profile

Get Output Profile List

Request

chevron-rightGET /v1/vhosts/{vhost}/apps/{app}/outputProfileshashtag
Authorization: Basic {credentials}

# Authorization
    Credentials for HTTP Basic Authentication created with <AccessToken>

Responses

chevron-right200 Okhashtag

The request has succeeded

Header

Content-Type: application/json

Body

{
	"statusCode": 200,
	"message": "OK",
	"response": [
		"default",
		"audio_only"
	]
}

# statusCode
	Same as HTTP Status Code
# message
	A human-readable description of the response code
# response
	Json array containing a list of output profile names
chevron-right401 Unauthorizedhashtag

Authentication required

Header

WWW-Authenticate: Basic realm=”OvenMediaEngine”

Body

{
    "message": "[HTTP] Authorization header is required to call API (401)",
    "statusCode": 401
}
chevron-right404 Not Foundhashtag

The given vhost or application name could not be found.

Body

{
    "message": "[HTTP] Could not find the application: [vhost/app1] (404)",
    "statusCode": 404
}

Create Output Profile

Application에 Output Profile을 추가합니다. 이 요청이 성공하면 Application이 재시작됩니다.

Request

chevron-rightPOST /v1/vhosts/{vhost}/apps/{app}/outputProfileshashtag

Header

Body

Configure output profiles to be created in Json array format.

Responses

chevron-right200 Okhashtag

The request has succeeded

Header

Body

It responds with Json array for each request.

chevron-right207 Multi-Statushashtag

There might be a mixture of responses.

Header

Body

It responds with Json array for each request.

chevron-right400 Bad Requesthashtag

Invalid request. Body is not a Json array or does not have a required value

chevron-right401 Unauthorizedhashtag

Authentication required

Header

Body

chevron-right404 Not Foundhashtag

The given vhost or application name could not be found.

Body

chevron-right409 Conflicthashtag

A output profile name already exists

Get Output Profile Information

Request

chevron-rightGET /v1/vhosts/{vhost}/apps/{app}/outputProfiles/{profile}hashtag

Header

Responses

chevron-right200 Okhashtag

The request has succeeded

Header

Body

chevron-right401 Unauthorizedhashtag

Authentication required

Header

Body

chevron-right404 Not Foundhashtag

The given vhost or application name could not be found.

Body

Delete Output Profile

Output Profile Settings를 삭제합니다. 이 요청이 성공하면 Application이 재시작됩니다.

Request

chevron-rightDELETE /v1/vhosts/{vhost}/apps/{app}/outputProfiles/{profile}hashtag

Header

Responses

chevron-right200 Okhashtag

The request has succeeded

Header

Body

chevron-right401 Unauthorizedhashtag

Authentication required

Header

Body

chevron-right404 Not Foundhashtag

The given vhost or application name could not be found.

Body

Last updated