ListExtensions

更新时间:
复制 MD 格式

Retrieves a paginated list of extensions in a DataWorks workspace.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

PageNumber

integer

No

The page number.

1

PageSize

integer

No

The number of entries per page.

10

Response elements

Element

Type

Description

Example

object

Response parameters.

RequestId

string

The request ID.

0000-ABCD-EFG

PagingInfo

object

Pagination details.

PageNumber

integer

The page number.

1

PageSize

integer

The number of entries per page.

10

TotalCount

integer

The total number of entries returned.

12

Extensions

array<object>

The list of extensions.

array<object>

The extensions.

Status

integer

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

0

ExtensionDesc

string

The extension description.

This is a description

ExtensionName

string

The extension name.

Extension name

Owner

string

The RAM user ID.

2003****

ExtensionCode

string

The unique extension code.

Extension Code

BindEventList

array<object>

The bound extension point events.

object

The extension point event.

EventName

string

The event name.

File submission pre-event

EventCode

string

The event code.

commit-file

Examples

Success response

JSON format

{
  "RequestId": "0000-ABCD-****",
  "PagingInfo": {
    "PageNumber": 1,
    "PageSize": 10,
    "TotalCount": 12,
    "Extensions": [
      {
        "Status": 0,
        "ExtensionDesc": "This is a description",
        "ExtensionName": "Extension name",
        "Owner": "2003****",
        "ExtensionCode": "Extension Code",
        "BindEventList": [
          {
            "EventName": "File submission pre-event",
            "EventCode": "commit-file"
          }
        ]
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.