All Products
Search
Document Center

DataWorks:ListExtensions

Last Updated:Nov 21, 2024

Queries a list of extensions.

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
PageNumberintegerNo

The page number.

1
PageSizeintegerNo

The number of entries per page.

10

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

Id of the request

0000-ABCD-EFG
PagingInfoobject

The pagination information.

PageNumberinteger

The page number.

1
PageSizeinteger

The number of entries per page.

10
TotalCountinteger

The total number of entries returned.

12
Extensionsarray<object>

The list of extensions.

Extensionsobject
Statusinteger

The state of the extension. Valid values: 0: Testing 1: Publishing 3: Disabled 4: Processing 5: Approved 6: Approve Failed

0
ExtensionDescstring

The description of the extension.

ExtensionNamestring

The name of the extension.

Ownerstring

The ID of the RAM user.

2003****
ExtensionCodestring

The unique code of the extension.

BindEventListarray<object>

The list of extension point events.

BindEventListobject
EventNamestring

The name of the event.

EventCodestring

The code of the event.

commit-file

Examples

Sample success responses

JSONformat

{
  "RequestId": "0000-ABCD-EFG",
  "PagingInfo": {
    "PageNumber": 1,
    "PageSize": 10,
    "TotalCount": 12,
    "Extensions": [
      {
        "Status": 0,
        "ExtensionDesc": "",
        "ExtensionName": "",
        "Owner": "2003****",
        "ExtensionCode": "",
        "BindEventList": [
          {
            "EventName": "",
            "EventCode": "commit-file"
          }
        ]
      }
    ]
  }
}

Error codes

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