Querying Personalized Audio Duration
Function
Queries personalized audio duration.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
URI
GET /v1/{project_id}/voice-training-manage/user/tenant-duration-cfg
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
tenant_id |
String |
Tenant ID. |
|
basic_min |
Integer |
Minimum duration for the basic edition, in seconds. Value range: 0~2147483647 |
|
basic_max |
Integer |
Maximum duration for the basic edition, in seconds. Value range: 0~2147483647 |
|
basic_advice_value |
Integer |
Recommended duration, in seconds. Value range: 0~2147483647 |
|
middle_min |
Integer |
Minimum duration for the advanced edition, in seconds. Value range: 0~2147483647 |
|
middle_max |
Integer |
Maximum duration for the advanced edition, in seconds. Value range: 0~2147483647 |
|
middle_advice_value |
Integer |
Recommended duration, in seconds. Value range: 0~2147483647 |
|
advance_min |
Integer |
Minimum duration for the premium edition, in seconds. Value range: 0~2147483647 |
|
advance_max |
Integer |
Maximum duration for the premium edition, in seconds. Value range: 0~2147483647 |
|
advance_advice_value |
Integer |
Recommended duration, in seconds. Value range: 0~2147483647 |
|
flexus_min |
Integer |
Minimum duration for the Flexus edition, in seconds. Value range: 0~2147483647 |
|
flexus_max |
Integer |
Maximum duration for the Flexus edition, in seconds. Value range: 0~2147483647 |
|
flexus_advice_value |
Integer |
Recommended duration for the Flexus edition, in seconds. Value range: 0~2147483647 |
|
cmww_min |
Integer |
Minimum duration for Mobvoi, in seconds. Value range: 0~2147483647 |
|
cmww_max |
Integer |
Maximum duration for Mobvoi, in seconds. Value range: 0~2147483647 |
|
cmww_advice_value |
Integer |
Recommended duration for Mobvoi, in seconds. Value range: 0~2147483647 |
|
ljzn_min |
Integer |
Minimum duration for AudioX, in seconds. Value range: 0~2147483647 |
|
ljzn_max |
Integer |
Maximum duration for AudioX, in seconds. Value range: 0~2147483647 |
|
ljzn_advice_value |
Integer |
Recommended duration for AudioX, in seconds. Value range: 0~2147483647 |
|
short_assess_min |
Integer |
Minimum duration for short task quality assessment, in seconds. Value range: 0~2147483647 |
|
short_assess_max |
Integer |
Maximum duration for short task quality assessment, in seconds. Value range: 0~2147483647 |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code. |
|
error_msg |
String |
Error description. |
Example Requests
None
Example Responses
Status code: 200
Returned when the request succeeded.
{
"tenant_id" : "05c9b8888380d5c32fb0c00cfa2aedb2",
"basic_min" : 120,
"basic_max" : 600,
"basic_advice_value" : 300,
"middle_min" : 600,
"middle_max" : 1800,
"middle_advice_value" : 900,
"advance_min" : 1800,
"advance_max" : 12000,
"advance_advice_value" : 3600,
"flexus_min" : 30,
"flexus_max" : 300,
"flexus_advice_value" : 120,
"cmww_min" : 30,
"cmww_max" : 12000,
"cmww_advice_value" : 300,
"ljzn_min" : 5,
"ljzn_max" : 15,
"ljzn_advice_value" : 10
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Returned when the request succeeded. |
|
400 |
Parameter error. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot