Querying Pipeline Concurrency on the Dashboard
Function
This API is used to query the number of concurrent and queuing pipelines in each project under a tenant.
Calling Method
For details, see Calling APIs.
URI
GET /v5/{tenant_id}/api/dashboard/concurrency
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
tenant_id |
Yes |
String |
Definition: Tenant ID, that is, domain ID of a user. Constraints: N/A Range: The value contains 32 characters. Default value: N/A |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
pageNo |
No |
Integer |
Definition: Page number for pagination query. Constraints: N/A Range:
NOTE:
0
Default value: 1 |
|
pageSize |
No |
Integer |
Definition: Page size. Constraints: N/A Value range:
NOTE:
0
Default value: |
|
sort |
No |
String |
Definition: Sorting field. Constraints: N/A Value range: N/A Default value: This parameter is left empty by default, indicating that items are in arbitrary order. |
|
order |
No |
String |
Definition: Sorting order. Constraints: N/A Value range:
Default value: This parameter is left empty by default, indicating that items are in arbitrary order. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
error |
ErrorInfo object |
Definition: Error information. If no error is reported, the error field is not returned. Range: N/A |
|
result |
Object |
Definition: Returned result. Range: N/A |
|
status |
String |
Definition: Status value. Value range: N/A |
Example Requests
GET https://{endpoint}/v5/ce8df55870164338a72d7e828a966a2a/api/dashboard/concurrency?pageNo=1&pageSize=10&_=1763951243781
Example Responses
Status code: 200
OK
{
"total" : 1,
"pageSize" : 10,
"pageNo" : 1,
"concurrentlyCount" : 1,
"queueUpCount" : 1,
"concurrentlyList" : [ {
"projectName" : "Test",
"projectId" : "01bbbbc3582a430fbe975075d911a2a4",
"concurrentlyNumber" : 2,
"queueUpNumber" : 0,
"deleted" : false
} ]
}
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