Domain name for API request: gme.tencentcloudapi.com.
This API is used to create a GME application.
A maximum of 200 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: CreateApp. |
Version | Yes | String | Common Params. The value used for this API: 2018-07-11. |
Region | No | String | Common Params. This parameter is not required for this API. |
AppName | Yes | String | Application name |
ProjectId | No | Integer | Tencent Cloud project ID. Default value: 0, which means that the default project is used. |
EngineList.N | No | Array of String | List of engines to be supported. All values are selected by default. |
RegionList.N | No | Array of String | Service region list. All values are selected by default. |
RealtimeSpeechConf | No | RealtimeSpeechConf | Configuration information of Voice Chat |
VoiceMessageConf | No | VoiceMessageConf | Configuration information of Voice Message Service |
VoiceFilterConf | No | VoiceFilterConf | Configuration information of Voice Analysis Service |
Tags.N | No | Array of Tag | List of tags to be added |
Parameter Name | Type | Description |
---|---|---|
Data | CreateAppResp | Returned data |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
This example shows you how to enable high-quality Voice Chat and Phrase Filtering, and disable Voice Message Service for a project.
https://gme.tencentcloudapi.com/?Action=CreateApp
&AppName=simple_gme_application
&<Common request parameters>
{
"Response": {
"Data": {
"AppName": "simple_gme_application",
"CreateTime": 1568945078,
"ProjectId": 10000,
"BizId": 140000002,
"SecretKey": "abcdefghijklmnop",
"RealtimeSpeechConf": {
"Status": "open",
"Quality": "high"
},
"VoiceMessageConf": {
"Status": "open",
"Language": "cnen"
},
"VoiceFilterConf": {
"Status": "open"
}
},
"RequestId": "d61be8ca-f010-11e9-af81-fa163ee00eb7"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation | Operation failed. |
FailedOperation.UserFeeNegative | Operation not allowed as your account is in arrears. |
InternalError | Internal error. |
InvalidParameter | Incorrect parameter. |
InvalidParameter.TagKey | Incorrect tag. |
LimitExceeded.Application | The number of created applications has reached the upper limit. |
UnauthorizedOperation | Unauthorized operation. |
UnauthorizedOperation.CreateAppDenied | Application creation is not authorized. |
UnauthorizedOperation.UnRealNameAuth | Unverified user. |
UnknownParameter | Unknown parameter error. |
UnsupportedOperation | Operation unsupported. |
Was this page helpful?