Querying the Publisher List
Function
Querying the Publisher List
URI
GET /v1/{domain_id}/publisher/query-all
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
domain_id |
Yes |
String |
TenantID |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
offset |
No |
String |
Offset |
|
limit |
No |
String |
Size |
|
name |
No |
String |
Name |
Request 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). |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
offset |
Integer |
Queries the offset. |
|
limit |
Integer |
Number of items queried each time |
|
total |
Long |
Query the total number |
|
data |
Array of PublisherVO objects |
Data list |
|
Parameter |
Type |
Description |
|---|---|---|
|
publisher_unique_id |
String |
Publisher ID |
|
user_id |
String |
User ID |
|
tenant_id |
String |
Indicates the tenant ID. |
|
description |
String |
Description |
|
logo_url |
String |
Icon URL |
|
website |
String |
Web page URL |
|
support_url |
String |
Address |
|
source_url |
String |
Address |
|
en_name |
String |
English name |
|
name |
String |
Name |
|
auth_status |
String |
Authorization Status |
|
is_delete |
Integer |
Auto Delete |
|
last_update_user_name |
String |
Updated By |
|
last_update_user_id |
String |
ID of the person who last updates the document. |
|
last_update_time |
String |
Last updated time |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
error_msg |
String |
Error Message |
|
error_code |
String |
Error code. |
Example Requests
GET https://{endpoint}/v1/ce8df55870164338a72d7e828a966a2a/publisher/query-all?name=&limit=10&offset=0&_=1699357492733
Example Responses
Status code: 200
OK
{
"offset" : 0,
"limit" : 10,
"total" : 3,
"data" : [ {
"publisher_unique_id" : "7f1c6b0f12f94b3d9e37eee0b541d3ac",
"user_id" : "847a5317086c41798469d0868535943a",
"tenant_id" : "ce8df55870164338a72d7e828a966a2a",
"description" : "",
"logo_url" : "",
"website" : "",
"support_url" : "aaa@aa.com",
"source_url" : "",
"en_name" : "aaa",
"name" : "aaa",
"auth_status" : "processing",
"is_delete" : 0,
"last_update_user_name" : "devcloud_devcloud_h00485561_01",
"last_update_user_id" : "847a5317086c41798469d0868535943a",
"last_update_time" : "2023-11-07T18:54:02.411"
}, {
"publisher_unique_id" : "4ea3d6eb6f9d40e681d7b555161dffc2",
"user_id" : "d61bdd3214a441b6ad630ce8a9c1015a",
"tenant_id" : "ce8df55870164338a72d7e828a966a2a",
"description" : "",
"logo_url" : "",
"website" : "",
"support_url" : "fgddf",
"source_url" : "",
"en_name" : "dfdg",
"name" : "fdfg",
"auth_status" : "processing",
"is_delete" : 0,
"last_update_user_name" : "devcloud_devcloud_h00485561_01/SysReservedV3_pipel",
"last_update_user_id" : "d61bdd3214a441b6ad630ce8a9c1015a",
"last_update_time" : "2023-10-31T14:18:06.356"
}, {
"publisher_unique_id" : "b9fc8fb6d9194536ac66dd74c2212126",
"user_id" : "847a5317086c41798469d0868535943a",
"tenant_id" : "ce8df55870164338a72d7e828a966a2a",
"description" : "Here is the description.",
"logo_url" : "/api/v1/ce8df55870164338a72d7e828a966a2a/common/get-plugin-icon?object_key=default-cfb6036d13404631a04a5e7f3a5899b2-kubernetes.png-ce8df55870164338a72d7e828a966a2a&icon_type=publish",
"website" : "https://tinydesign.cloudbu.huawei.com/rp/team/ptnixbayoz",
"support_url" : "5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555",
"source_url" : "",
"en_name" : "kejiyouxiangongsi",
"name" : "Hangzhou XXX Technology Co., Ltd.",
"auth_status" : "accept",
"is_delete" : 0,
"last_update_user_name" : "devcloud_devcloud_h00485561_01",
"last_update_user_id" : "847a5317086c41798469d0868535943a",
"last_update_time" : "2023-02-21T09:22:34.528"
} ]
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
400 |
Bad request |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.