제품 개요
Basic Concepts
응용 시나리오
기능 소개
계정 시스템
사용자 정보 및 관계망
메시지 관리
그룹 시스템
Official Account
Audio/Video Call
사용 제한
https://www.example.com
Example:https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&OptPlatform=$OptPlatform&contenttype=json
Parameter | Description |
https | The request protocol is HTTPS, and the request method is POST. |
www.example.com | Callback URL |
SdkAppid | SDKAppID allocated by the Chat console at the time of application creation |
CallbackCommand | Fixed as Alert.RequestOverLimit |
contenttype | Fixed value: JSON |
OptPlatform | Client platform. For values, see Webhook Overview - Webhook Protocol for the meaning of the OptPlatform parameter. |
{ "CallbackCommand": "Alert.RequestOverLimit", "ServiceName": "openim", "Command": "batchsendmsg", "Request": 510, "Limit": 200 }
Field | Type | Description |
CallbackCommand | String | Fixed as Alert.RequestOverLimit |
ServiceName | String | Internal service name of API. Different ServiceNames correspond to different service types. |
Command | String | API command word, combined with ServiceName to identify specific business features. |
Request | Integer | API request QPS rate |
Limit | Integer | API request QPS threshold |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0}
Field | Type | Description |
ActionStatus | String | Request processing result: OK indicates successful processing. FAIL indicates failed processing. |
ErrorCode | Integer | Error code |
ErrorInfo | String | Error description |
피드백