All Products
Search
Document Center

:ListNodesByBaseline

更新時間:May 16, 2024

Queries nodes in a baseline.

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 ListNodesByBaseline

The operation that you want to perform. Set the value to ListNodesByBaseline.

BaselineId Long Yes 1234

The baseline ID. You can call the ListBaselineConfigs operation to query the baseline ID.

Response parameters

Parameter Type Example Description
HttpStatusCode Integer 200

The HTTP status code.

RequestId String 0000-ABCD-E****

The request ID.

ErrorMessage String The specified parameters are invalid.

The error message.

ErrorCode String 1031203110005

The error code.

Success String true

Indicates whether the request was successful.

Data Array of Data

The nodes in the baseline.

Owner String 9527952****

The ID of the Alibaba Cloud account used by the node owner.

NodeName String Node name

The name of the node.

NodeId Long 1234

The node ID

ProjectId Long 1234

The ID of the workspace to which the node belongs.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListNodesByBaseline
&BaselineId=1234
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ListNodesByBaselineResponse>
    <HttpStatusCode>200</HttpStatusCode>
    <RequestId>0000-ABCD-E****</RequestId>
    <ErrorMessage>The specified parameters are invalid.</ErrorMessage>
    <ErrorCode>1031203110005</ErrorCode>
    <Success>true</Success>
    <Data>
        <Owner>9527952****</Owner>
        <NodeName>Node name</NodeName>
        <NodeId>1234</NodeId>
        <ProjectId>1234</ProjectId>
    </Data>
</ListNodesByBaselineResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "HttpStatusCode" : 200,
  "RequestId" : "0000-ABCD-E****",
  "ErrorMessage" : "The specified parameters are invalid.",
  "ErrorCode" : 1031203110005,
  "Success" : true,
  "Data" : {
    "Owner" : "9527952****",
    "NodeName" : "Node name",
    "NodeId" : 1234,
    "ProjectId" : 1234
  }
}

Error codes

HTTP status code Error code Error message Description
429 Throttling.Api The request for this resource has exceeded your available limit. The number of requests for the resource has exceeded the upper limit.
429 Throttling.Api.Risk The request for this resource has exceeded your daily available limit. The number of requests per day for the resource has exceeded the upper limit.
429 Throttling.System The DataWorks system is busy. Try again later. The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later. Excessive requests have been submitted within a short period of time. Try again later.
500 Forbidden.Not.Server The dataworksAPI service is not available in this area. Please try it in another area. DataWorks API is unavailable in this region. Try another region.
500 Forbidden.Wkbench.BaselineNoPermission You are not authorized to access the baseline. You are not authorized to access the specified baseline.
500 Forbidden.Wkbench.ProjectNoPermission You are not authorized to access the workspace. You are not authorized to access the workspace.
500 InternalError.System An internal system error occurred. Try again later. An internal error occurred. Try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later. An internal error occurred. Try again later.
500 InternalError.Wkbench.ServiceError An internal error occurred. A service error occurred.
500 Invalid.Wkbench.Parameter The specified parameters are invalid. The values specified for one or more parameters are invalid.
500 Invalid.Wkbench.BaselineNotExist The baseline does not exist. The baseline is not found.

For a list of error codes, see Service error codes.