Data Autonomy Service (DAS) supports HTTP GET and HTTPS GET requests. You must add all request parameters that are required for specific API operations to request URLs. After a request is sent, the system returns a response.
Sample request
The following sample request calls the DescribeCacheAnalysisJobs operation.
http(s)://das.cn-shanghai.aliyuncs.com/
?Action=DescribeCacheAnalysisJobs
&InstanceId=r-bp18ff4a195d****
&StartTime=1596177993000
&EndTime=1596177993001
&PageNo=1
&PageSize=10
&<Common request parameters>
https
specifies the communication protocol.das.cn-shanghai.aliyuncs.com
specifies the endpoint of DAS.Action=CreateInstance
specifies the operation that you want to perform.- You must specify the
RegionId
,InstanceClass
andInstanceName
parameters to call the CreateInstance operation.
Endpoint
DAS API is available only in the China (Shanghai) region. The endpoint is das.cn-shanghai.aliyuncs.com
.
Communication protocols
You can send API requests over HTTP or HTTPS. To ensure data security, we recommend that you send requests over HTTPS.
Request methods
You can use the HTTP GET method to send requests. When you use this method, all required request parameters must be included in the request URLs.
Request parameters
For each request, you must specify the Action
parameter, common request parameters, and operation-specific parameters. In this
example, the Action parameter is set to CreateInstance
.
Character encoding
Requests and responses are encoded in UTF-8.