Description: Get a project integration based on integration Id.
Security: Requires a valid user
Usage: GET api/v1/projectIntegration/{projectIntegrationId}
Produces: application/json
Query Parameters:
Parameter | Type | Description | Required/Optional |
---|---|---|---|
| String | Id of the project integration | Required |
Sample Request: GET api/v1/projectIntegration/{projectIntegrationId}GET api/v1/projectIntegration/2
Sample Response:
[ { "propertyBag": {}, "permissions": { "allowAllPipelineSources": true }, "id": 2, "name": "i_artifactory", "projectId": 1, "masterIntegrationId": 98, "masterIntegrationType": "generic", "masterIntegrationName": "artifactory", "providerId": null, "isInternal": false, "createdByUserName": "admin", "updatedByUserName": "admin", "createdBy": 3, "updatedBy": 3, "createdAt": "2019-11-11T10:24:46.112Z", "updatedAt": "2019-11-11T10:24:46.112Z", "formJSONValues": [ { "label": "apikey", "value": "AKCp5dK4oM4kP9VJL98E5Hsqbc" }, { "label": "url", "value": "http://192.168.50.4:8081" }, { "label": "user", "value": "admin" } ] } ]
Response Codes:
200: Success
400: Invalid parameters
404: If no project integration is found for the supplied id