Querying Projects for Which a Pipeline Can Be Created
Function
This API is used to query projects for which a pipeline can be created.
Calling Method
For details, see Calling APIs.
URI
GET /v5/{tenant_id}/api/project/query-related-project
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
tenant_id |
Yes |
String |
Definition: Tenant ID. Constraints: N/A Value range: The value consists of 32 characters, including digits and letters. Default value: N/A |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
page_index |
No |
Integer |
Definition: Page number for pagination query. Constraints: N/A Value range: The value is greater than 0. Default value: 1. |
page_size |
No |
Integer |
Definition: Number of records on each page. Constraints: N/A Value range: The value is greater than 0. Default value: N/A |
search |
No |
String |
Definition: Name for fuzzy search. Constraints: N/A Value range: N/A Default value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
total |
Integer |
Definition: Total number of projects. Value range: N/A |
projectInfoList |
Array of ProjectInfo objects |
Definition: Project details in the project list. Value range: N/A |
Parameter |
Type |
Description |
---|---|---|
id |
Integer |
Definition: Project ID. Value range: N/A |
identifier |
String |
Definition: Project identifier. Value range: The value consists of 32 characters, including digits and letters. |
name |
String |
Definition: Project name. Value range: N/A |
type |
String |
Definition: Project type. Value range: N/A |
status |
Integer |
Definition: Project status. Value range: N/A |
enableCreatePipeline |
Boolean |
Definition: Whether a pipeline can be created. Value range:
|
Example Requests
None
Example Responses
None
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