Queries a list of built-in and custom extensions that are enabled in a workspace.
Operation description
For information about codes of extension point events, see Development references: Extension point event codes.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
EventCode | string | Yes | The code of the extension point event. | commit-file |
ProjectId | long | Yes | The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to obtain the workspace ID. | 10000 |
FileType | string | No | The type of the code for the file. Valid values: 6 (Shell), 10 (ODPS SQL), 11 (ODPS MR), 24 (ODPS Script), 99 (zero load), 221 (PyODPS 2), 225 (ODPS Spark), 227 (EMR Hive), 228 (EMR Spark), 229 (EMR Spark SQL), 230 (EMR MR), 239 (OSS object inspection), 257 (EMR Shell), 258 (EMR Spark Shell), 259 (EMR Presto), 260 (EMR Impala), 900 (real-time synchronization), 1089 (cross-tenant collaboration), 1091 (Hologres development), 1093 (Hologres SQL), 1100 (assignment), and 1221 (PyODPS 3). You can call the ListFileType operation to query the type of the code for the file. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "4F2CA7ED-27E5-59EA-A8C4-F1F7A1FF0B22",
"Extensions": [
{
"ExtensionCode": "a94a8e23bc0b4dfab9a5e4d2f374d645",
"ExtensionName": "",
"TenantId": 529889518659842,
"CreateUser": "3444434343555",
"ModifyUser": "34452335611988",
"ExtensionDesc": "",
"Owner": "21323672*******55500",
"ParameterSetting": "extension.fileType.23.deploy-file.enabled=true"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-12-11 | The response structure of the API has changed | View Change Details |