Description: Gets a list of those projects that have an associated Pipelines object, such as an integration, pipeline source or node pool.
Note
To get the list of all the Projects available in Artifactory, see Get Projects List.
Security:Requires admin credentials
Usage: GET api/v1/projects
Produces: application/json
Query String Parameters:
Parameter | Type | Description | Required/Optional |
---|---|---|---|
| String | A filter on the list based on the | Optional |
| String | A filter on the list based on the | Optional |
| String | A filter on the list based on the | Optional |
| String | A filter on the list based on the | Optional |
Response:
GET /pipelines/api/v1/projects
[ { "systemPropertyBag": { "sshPublicKey": "ssh-rsa {snipped for brevity}\n" }, "configPropertyBag": { "defaultNodePoolId": 1 }, "id": 1, "name": "default", "sourceId": "default_source_id", "providerId": 1, "isOrphaned": false, "createdAt": "2019-05-01T00:00:00.000Z", "updatedAt": "2019-05-01T00:00:00.000Z" }, { "systemPropertyBag": { "sshPublicKey": "ssh-rsa {snipped for brevity}\n"" }, "configPropertyBag": { "defaultNodePoolId": 2 }, "id": 2, "name": "newProj1", "sourceId": "new1", "providerId": 1, "isOrphaned": false, "createdAt": "2022-03-30T10:20:22.140Z", "updatedAt": "2022-03-30T10:20:22.419Z" }, { "systemPropertyBag": { "sshPublicKey": "ssh-rsa {snipped for brevity}\n"" }, "configPropertyBag": null, "id": 3, "name": "newProj3", "sourceId": "new3", "providerId": 1, "isOrphaned": false, "createdAt": "2022-03-30T10:30:05.329Z", "updatedAt": "2022-03-30T10:30:05.329Z" } ]
Response Codes:
200: Success
400: If required fields are not included in the request body or if there are invalid parameters.