Querying the Following List
Function
Query the following list.
URI
GET /cloudartifact/v5/attention/artifacts
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
page_no |
No |
Integer |
Page number. |
page_size |
No |
Integer |
Page size. |
project_id |
No |
String |
Project ID. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
status |
String |
Result status. |
trace_id |
String |
Request ID. |
result |
String |
Returned result of the request. The return value varies according to the API. |
Example Requests
Query the following list.
https://artifact.cn-south-1.myhuaweicloud.com/cloudartifact/v5/attention/artifacts?page_size=10&page_no=1&project_id=035a1e9da3074adfb57acd1da494d736
Example Responses
Status code: 200
OK
{ "status" : "success", "trace_id" : "143006-1701222864960-289", "result" : { "data" : [ { "id" : "43e78ea4903d468db517e069ab91ce1c", "domainId" : "5a775fdcb14f4431b6c0015618140bc3", "repositoryId" : "cn-north-7_5a775fdcb14f4431b6c0015618140bc3_maven_1_108", "repositoryName" : "maven1", "format" : "maven2", "policy" : "release", "artifactId" : "cn-north-7_5a775fdcb14f4431b6c0015618140bc3_maven_1_108/1/1/1/1-1-1.jar", "path" : "cn-north-7_5a775fdcb14f4431b6c0015618140bc3_maven_1_108/1/1/1/1-1-1.jar", "modifiedUserName" : "devcloud_devcloud_y00226182_01", "modifiedUserId" : "e9253deb37654775bb3c411aca89153a", "userId" : null, "modifiedTime" : "2023-11-29 09:54:22", "region" : "cn-north-7" } ], "totalRecords" : 1, "totalPages" : 1 } }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot