Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

Updating the Publisher Icon

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

Function

Updating the Publisher Icon

URI

POST /v1/{domain_id}/common/upload-publisher-icon

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

domain_id

Yes

String

Indicates the tenant ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

publisher_en_name

No

String

Publisher Name

Request Parameters

Table 3 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 4 FormData parameters

Parameter

Mandatory

Type

Description

upload_file

Yes

File

Icon File

Response Parameters

Status code: 400

Table 5 Response body parameters

Parameter

Type

Description

error_msg

String

Error Message

error_code

String

Error code.

Example Requests

POST https://{endpoint}/v1/ce8df55870164338a72d7e828a966a2a/common/upload-publisher-icon

Example Responses

Status code: 200

Icon Access Path

/api/v1/ce8df55870164338a72d7e828a966a2a/common/get-plugin-icon?object_key=default-82960e8 ecd194e07bcb5e4e660b7439f-2023-08-03141751.png-ce8df55870164338a72d7e828a966a2a&icon_type=publish

Status Codes

Status Code

Description

200

Icon Access Path

400

Bad request

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback