This topic describes the request syntax in ActionTrail, including the endpoints of ActionTrail, communications protocol, HTTP request method, and request parameters.

The endpoint of the ActionTrail console is actiontrail.console.aliyun.com.

The endpoint of the ActionTrail API is actiontrail.[ Region].aliyuncs.com. [Region] specifies the region to which a trail is applied. Valid value: cn-hangzhou.

Communications protocol

You can call ActionTrail API operations by sending HTTP or HTTPS requests. We recommend that you send HTTPS requests for enhanced security.

Request method

The HTTP or HTTPS GET method can be used to send requests. Request parameters must be included in the request URL.

Request parameters

Each request must specify the operation to be performed. For example, to create a trail, you must set the Action parameter to CreateTrail. Request parameters include both common parameters and operation-specific parameters.

Encoding

All requests and responses are encoded in UTF-8.