Queries the quantity trend of auto triggered node instances.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes GetInstanceCountTrend

The operation that you want to perform.

BeginDate String Yes 2020-04-02T00:00:00+0800

The business start date, accurate to days. You must use the yyyy-MM-dd'T'HH:mm:ssZ UTC format.

EndDate String Yes 2020-09-10T00:00:00+0800

The business expiration date, accurate to the day. You must use the yyyy-MM-dd'T'HH:mm:ssZ UTC format.

ProjectId Long Yes 10000

The ID of the DataWorks workspace.

RegionId String Yes cn-shanghai

The ID of the zone.

Response parameters

Parameter Type Example Description
InstanceCounts Array of IntanceCounts

The trend data of instances.

Count Integer 9527

The number of the instance.

Date Long 1600963200000

The timestamp corresponding to the business date.

RequestId String 95279527adhfj****

The unique ID generated for each request.

Examples

Sample requests


     http(s)://[Endpoint]/? Action=GetInstanceCountTrend &BeginDate=2020-04-02T00:00:00+0800 &EndDate=2020-09-10T00:00:00+0800 &ProjectId=10000 &RegionId=cn-shanghai &<common request parameters> 
   

Sample success responses

XML format


     <RequestId>95279527adhfj****</RequestId> <InstanceCounts> <Count>9527</Count> <Date>1600963200000</Date> </InstanceCounts> 
   

JSON Format


     { "RequestId": "95279527adhfj****", "InstanceCounts": { "Count": 9527, "Date": 1600963200000 } } 
   

Error codes

HttpCode Error codes Error message Description
500 Forbidden.Not.Server The dataworksAPI service is not available in this area. Please try it in another area. DataWorks API service is not available in this region. Please try another region.
500 InternalError.System An internal system error occurred. Try again later. An internal system error occurred. Please try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later. An internal system error occurred. Please try again later.
403 ResourceNotAuthorized.Api You are not authorized to access the resources. You cannot access resources without authorization.
429 Throttling.Api The request for this resource has exceeded your available limit. The request for the resource exceeds your available upper limit.
429 Throttling.Api.Risk The request for this resource has exceeded your daily available limit. The request for the resource has exceeded your daily availability limit.
429 Throttling.Resource You have reached the limit for the resource. Please contact us by submitting a ticket. The number of resources has reached the upper limit. Submit a ticket.
429 Throttling.System The DataWorks system is busy. Try again later. DataWorks the system is busy, please try again later.
429 Throttling.User Your request is too frequent. Try again later. Your request is too frequent, please try to slow down the request speed.
500 Forbidden.Wkbench.NoProject You have not joined any project. You have not joined any workspaces.
500 Invalid.Wkbench.Parameter The specified parameters are invalid. One or more parameters are invalid.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. You have restricted access. Please activate DataWorks Enterprise Edition or above.

Go to the Error CenterFor more information, see error codes.