Updated on 2023-11-28 GMT+08:00

Updating Basic Plug-ins

Function

Updating Basic Plug-ins

URI

POST /v3/{domain_id}/extension/info/update

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

domain_id

Yes

String

Indicates the tenant ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token. Can be obtained by calling the IAM API for obtaining the user token (the value of X-Subject-Token in the response header).

Table 3 Request body parameters

Parameter

Mandatory

Type

Description

unique_id

No

String

Unique ID

icon_url

No

String

Icon URL

runtime_attribution

No

String

Operating attributes

plugin_name

No

String

Plug-in name

display_name

No

String

Display Name

business_type

No

String

Service Type

business_type_display_name

No

String

Display Name of Service Type

description

No

String

Description

is_private

No

Integer

Private

region

No

String

Site

maintainers

No

String

Maintainer

plugin_composition_type

No

String

Combination Plug-in Type

Response Parameters

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

error_msg

String

Error Message

error_code

String

Error code.

Example Requests

POST https://{endpoint}/v3/ce8df55870164338a72d7e828a966a2a/extension/info/update

{
  "plugin_name" : "basic_plugin",
  "display_name" : "basic_plugin",
  "business_type" : "Normal",
  "description" : "",
  "maintainers" : "",
  "business_type_display_name" : "General",
  "icon_url" : ""
}

Example Responses

Status code: 200

Indicates whether the invoking is successful.

true

Status Codes

Status Code

Description

200

Indicates whether the invoking is successful.

400

Bad request

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.