HUAWEI Analytics Kit provides APIs for your server by sharing API keys. When your server calls an API, the unified message header format is as follows:
| Parameter | Mandatory/Optional | Type | Description |
|---|---|---|---|
x-product-id | Mandatory | String | Product ID registered in AppGallery Connect. |
x-app-id | Mandatory | String | App ID registered in AppGallery Connect. |
Authorization | Mandatory | String | Authorization mode. For details, please refer to Open Platform Authentication - Client Password Mode. Note: A space character must be added between Bearer and the value of access_token. |
The <URI> value in the following interfaces is available at Project Setting > Manage > Events > Event management.