Create a Real User Monitoring (RUM) application.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| arms:CreateRumApp | create | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| AppName | string | Yes | The application name. | test-app |
| SiteType | string | Yes | The application type. Valid values: web, miniapp, ios, and android. | web |
| Source | string | No | The source. This is a reserved parameter. | arms |
| AppGroup | string | No | The name of the application group. | default |
| Description | string | No | The description of the application. | Monitoring description |
| ResourceGroupId | string | No | The ID of the resource group. | rg-acfmxyexli2**** |
| Tag | array<object> | No | The list of tags. You can specify a maximum of 20 tags. | |
| object | No | The list of tags. You can specify a maximum of 20 tags. | ||
| Key | string | No | The tag key. | app |
| Value | string | No | The tag value. | ecs |
| PackageName | string | No | The name of the Android application package. This parameter is required if you create an Android application. | com.xxxx.xxxxxx |
| RegionId | string | Yes | The region ID. | cn-hangzhou |
| NickName | string | No | The nickname of the application. | test-app |
| RealRegionId | string | No | The region where the application resides. You can leave this parameter empty or set it to China East 2 Finance. | cn-shanghai-finance-1 |
| Language | string | No | The language used by the client. | java |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "1A474FF8-7861-4D00-81B5-5BC3DA4E****",
"Code": 200,
"Success": true,
"Message": "success",
"HttpStatusCode": 200,
"Data": {
"Pid": "avccccxxxx@24cxxxxbf384dc6",
"Endpoint": "xxxxxxxx-default-cn.rum.aliyuncs.com",
"CdnDomain": "bxxxxxxx-sdk.rum.aliyuncs.com/v2/browser-sdk.js"
},
"ResourceGroupId": "rg-acfmxyexli2****"
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-02-17 | The request parameters of the API has changed | View Change Details |
| 2025-01-07 | The request parameters of the API has changed | View Change Details |
| 2024-09-02 | The request parameters of the API has changed | View Change Details |
| 2024-07-12 | The request parameters of the API has changed | View Change Details |
| 2024-06-28 | The response structure of the API has changed | View Change Details |
