Description
For creating an app. You must create an app before calling a third-party API because the app is your identity used to call the third-party API.
- This function is intended for API callers.
- Each app has a key-value pair which is used for identity verification when you call an API.
- An authorization relationship must be set up between the app and the API, that is, the app must be authorized with the permission to call the API. For more information, see Quick start (Call an API).
- Each app has only one pair of key which can be reset after leakage.
- This API can call up to 50 QPS for a single user.
Request parameters
Name | Type | Required? | Description |
---|---|---|---|
Action | String | Yes | Operation interface, which is a required parameter; value: CreateApp. |
AppName | String | Yes | Names can only contain Chinese characters, English letters, numbers, and English-style underlines, and must start with a letter or Chinese character and be 4-26 characters long. |
Description | String | No | API description, which cannot exceed 180 characters. |
Return parameters
Name | Type | Description |
---|---|---|
RequestId | String | ID of the current request. |
AppId | Long | Unique app ID. |
Examples
Request example
https://apigateway.cn-qingdao.aliyuncs.com/?Action=CreateApp
&AppName=CreateAppTest
&Description=test
&<Public request parameters>
Response example
XML
format
<CreateAppResponse>
<AppId>20112314518278</AppId>
<RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ015</RequestId>
</CreateAppResponse>
JSON
format
{
"AppId":20112314518278,
"RequestId":"BA20890E-75C7-41BC-9C8B-73276B58F550"
}