All Products
Search
Document Center

DataWorks:GetExtension

Last Updated:Jun 11, 2026

Mengambil detail ekstensi.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

ExtensionCode

string

Yes

Kode unik ekstensi.

ce4*********086da5

Elemen respons

Element

Type

Description

Example

object

The returned result.

RequestId

string

The request ID. You can use the request ID to query logs and troubleshoot issues.

0000-ABCD-EFG

Extension

object

The details of the extension.

ExtensionCode

string

The unique code of the extension.

ce4*********086da5

ExtensionName

string

The name of the extension.

Extension name

ExtensionDesc

string

The description of the extension.

This is a description

HelpDocUrl

string

The URL of the help documentation of the extension.

https://www.aliyun.com/

Status

integer

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

0

ProjectTesting

integer

The workspace for testing. If the extension is being tested, the extension can be used only in the workspace for testing.

13552

DetailUrl

string

The URL of the extension details page, on which users can view the details of the process blocked by the extension.

https://www.aliyun.com/

ParameterSetting

string

The parameter settings of the extension. For more information, see Configure extension parameters.

extension.project.disabled=projectId1,projectId2,projectId3

OptionSetting

string

The options defined for the extension.

Option configuration

BindEventList

array<object>

The list of extension points.

object

The details of the extension point.

EventCode

string

The code of the extension point event.

commit-file

EventName

string

The name of the extension point event.

File submission pre-event

EventCategoryList

array<object>

The list of event types.

object

The details of the event type.

CategoryCode

string

The code of the event type.

file-change

CategoryName

string

The name of the event type.

File change event

Contoh

Respons sukses

JSONformat

{
  "RequestId": "0000-ABCD-EFG",
  "Extension": {
    "ExtensionCode": "ce4*********086da5",
    "ExtensionName": "Extension name",
    "ExtensionDesc": "This is a description",
    "HelpDocUrl": "https://www.aliyun.com/",
    "Status": 0,
    "ProjectTesting": 13552,
    "DetailUrl": "https://www.aliyun.com/",
    "ParameterSetting": "extension.project.disabled=projectId1,projectId2,projectId3",
    "OptionSetting": "Option configuration",
    "BindEventList": [
      {
        "EventCode": "commit-file",
        "EventName": "File submission pre-event"
      }
    ],
    "EventCategoryList": [
      {
        "CategoryCode": "file-change",
        "CategoryName": "File change event"
      }
    ]
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.