All Products
Search
Document Center

DataWorks:ListNodesByBaseline

Last Updated:Nov 21, 2024

Queries nodes in a baseline.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
BaselineIdlongYes

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

1234

Response parameters

ParameterTypeDescriptionExample
object
HttpStatusCodeinteger

The HTTP status code.

200
RequestIdstring

The request ID. You can use the ID to troubleshoot issues.

0000-ABCD-E****
ErrorMessagestring

The error message.

The specified parameters are invalid.
ErrorCodestring

The error code.

1031203110005
Successstring

Indicates whether the request was successful.

true
Dataarray<object>

The nodes in the baseline.

Dataobject
Ownerstring

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

9527952****
NodeNamestring

The name of the node.

NodeIdlong

The node ID.

1234
ProjectIdlong

The ID of the workspace to which the node belongs.

1234

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError messageDescription
403Forbidden.AccessAccess is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition.No permission, please authorize
429Throttling.ApiThe request for this resource has exceeded your available limit.-
429Throttling.Api.RiskThe request for this resource has exceeded your daily available limit.-
429Throttling.ResourceYou have reached the limit for the resource. Please contact us by submitting a ticket.-
429Throttling.SystemThe DataWorks system is busy. Try again later.-
429Throttling.UserYour request is too frequent. Try again later.-
500Forbidden.Not.ServerThe dataworksAPI service is not available in this area. Please try it in another area.-
500Forbidden.Wkbench.BaselineNoPermissionYou are not authorized to access the baseline.You are not authorized to access the baseline.
500Forbidden.Wkbench.ProjectNoPermissionYou are not authorized to access the workspace.You are not authorized to access the workspace.
500InternalError.SystemAn internal system error occurred. Try again later.-
500InternalError.UserId.MissingAn internal system error occurred. Try again later.-
500InternalError.Wkbench.ServiceErrorAn internal error occurred.An internal error occurred.
500Invalid.Wkbench.ParameterThe specified parameters are invalid.The specified parameters are invalid.
500Invalid.Wkbench.BaselineNotExistThe baseline does not exist.The baseline does not exist.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history