Invocation methods
Updated at:
To call an API operation, send an HTTP request to its endpoint. You must include the required request parameters in the request. The system then returns a response. Both the request and the response are encoded in the UTF-8 character set.
Endpoint
https://gemp.cn-shanghai.aliyuncs.comNote This product is currently deployed only in the China (Shanghai) region. All API endpoints are in the Shanghai region, regardless of where your resources are deployed.
Communication protocols
You can send requests over HTTP or HTTPS. For better security, we recommend that you send requests over HTTPS.Request syntax
O&M Event Center provides RESTful APIs. The request structure is as follows:
HTTPMethod /resource_URI_parameters
RequestHeader
RequestBodyWhere:
- HTTPMethod : The method used for the request, such as PUT, POST, GET, and DELETE.
- resource_URI_parameters: The identifier of the resource to access, such as
/cluster. - RequestHeader: The request header. It usually contains information such as the API version, Host, and Authorization. For more information, see Common request and response parameters.
A request consists of common request parameters and API-specific parameters. Common request parameters are included in the request header and provide information such as the API version and identity verification.
- RequestBody: The request parameters that are included in the request body.
Example:
POST /services/group/list HTTP/1.1
Content-Type:application/json
{
"pageNumber": 1,
"pageSize": 10,
"incidentId":231210
}Request encoding
Both the request and the response are encoded in the UTF-8 character set.
Is this page helpful?