Querying Pipelines that Users Do Not Have the Permission to Delete in a Microservice
Function
This API is used to query pipelines that users do not have the permission to delete in a microservice.
Calling Method
For details, see Calling APIs.
URI
GET /v5/{project_id}/api/pipelines/component/check
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Definition: Project ID. For details, see Obtaining a Project ID. Constraints: N/A Value range: The value consists of 32 characters, including digits and letters. Default value: N/A |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
componentId |
Yes |
String |
Definition: Microservice ID. Constraints: N/A Value range: The value consists of 32 characters, including digits and letters. Default value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
pipelines |
Array of pipelines objects |
Definition: Pipeline list. Value range: N/A |
|
Parameter |
Type |
Description |
|---|---|---|
|
pipeline_id |
String |
Definition: Pipeline ID. Value range: N/A |
|
name |
String |
Definition: Pipeline name. Value range: N/A |
|
domain_id |
String |
Definition: Tenant ID. Value range: N/A |
|
project_id |
String |
Definition: Project ID. Value range: N/A |
|
component_id |
String |
Definition: Component ID. Value range: N/A |
|
creator_id |
String |
Definition: Pipeline creator ID. Value range: N/A |
|
creator_name |
String |
Definition: Pipeline creator name. Value range: N/A |
Example Requests
None
Example Responses
Status code: 200
OK
{
"pipelines" : {
"pipeline_id" : "123",
"name" : "My Pipeline",
"domain_id" : "domain_001",
"project_id" : "project_001",
"component_id" : "component_001",
"creator_id" : "creator_001",
"creator_name" : "John Doe"
}
}
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