GetExtension

Updated at:

Retrieves the details of a specific extension.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

dataworks:*

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

ExtensionCode

string

Yes

The unique code of the extension.

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

Response elements

Element

Type

Description

Example

object

The response result.

RequestId

string

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

0000-ABCD-EFG

Extension

object

The extension details.

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 for the extension.

https://www.aliyun.com/

Status

integer

The status of the extension. Valid values:

  • 0: testing

  • 1: online

  • 3: disabled

  • 4: pending approval

  • 5: approved

  • 6: rejected

0

ProjectTesting

integer

The workspace used for testing. When the extension is in the testing state, only the testing workspace can use the extension.

1355211

DetailUrl

string

The URL of the extension details page. Extension users can use this URL to view the details of the blocked process.

https://www.aliyun.com/

ParameterSetting

string

The parameter settings. For more information, see Extension parameter settings.

extension.project.disabled=projectId1,projectId2,projectId3

OptionSetting

string

The option settings.

Option configuration

BindEventList

array<object>

The list of extension points.

object

The extension point details.

EventCode

string

The event code of the extension point.

commit-file

EventName

string

The event name of the extension point.

File submission pre-event

EventCategoryList

array<object>

The list of event types.

object

The event type details.

CategoryCode

string

The code of the event type.

file-change

CategoryName

string

The name of the event type.

File change event

Examples

Success response

JSON format

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

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.