ListBackgroundMusics

Updated at:

Retrieves a list of background music.

Try it now

You can call this API directly in OpenAPI Explorer, which saves you from calculating signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.

RAM authorization

The following table describes the authorization information of this API. You can use the Action element in a RAM policy statement to grant a RAM user or RAM role the permission to call this API. The details are as follows:

  • Operation: the specific permission.
  • Access level: the access level of each operation. Valid values: Write, Read, and List.
  • Resource type: the resource types that can be authorized in the operation. The details are as follows:
    • An asterisk (*) before a resource type indicates that the resource type is required.
    • For operations that do not support resource-level authorization, All resources is used.
  • Condition keyword: the condition keywords defined by the cloud service itself.
  • Related operation: other permissions required to successfully perform the operation. The caller must also have the permissions of the related operations.

Operation

Access level

Resource type

Condition keyword

Related operation

bailianvoicebot:ListBackgroundMusics

list

*All resources

*

NoneNone

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

BusinessUnitId

string

No

The Model Studio business unit ID.

llm-zzu528i29ecnprcl

PageNumber

integer

No

The page number.

1

PageSize

integer

No

The number of entries per page.

10

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

CF6D3484-19A1-5C77-863B-AC8B5754D37C

Code

string

The error code.

OK

HttpStatusCode

integer

The HTTP status code.

200

Message

string

The error message.

Instance llm-baployoyopf22m2r does not exist.

Data

object

The paginated list of background music.

PageNumber

integer

The page number.

1

PageSize

integer

The number of entries per page.

10

TotalCount

integer

The total number of entries.

100

BackgroundMusics

array<object>

A list of background music items.

object

A background music item.

Id

string

The background music ID.

3258b551-4847-45fa-bbd8-838d90b90080

Name

string

The background music name.

Office ambiance

Params

array

A list of dynamic error parameters.

string

A dynamic error parameter.

llm-rj6aqmctjcit4acy

Examples

Success response

JSON format

{
  "RequestId": "CF6D3484-19A1-5C77-863B-AC8B5754D37C",
  "Code": "OK",
  "HttpStatusCode": 200,
  "Message": "Instance llm-baployoyopf22m2r does not exist.",
  "Data": {
    "PageNumber": 1,
    "PageSize": 10,
    "TotalCount": 100,
    "BackgroundMusics": [
      {
        "Id": "3258b551-4847-45fa-bbd8-838d90b90080",
        "Name": "办公氛围"
      }
    ]
  },
  "Params": [
    "llm-rj6aqmctjcit4acy"
  ]
}

Error codes

For more error codes, visit the Error Center.

Release notes

For more information, see Release notes.