Description: Gets a single resource for the supplied numeric id.
Security: Requires a valid user
Usage: GET api/v1/resources/:resourceId
Produces: application/json
Sample Response:
GET api/v1/resources/2019 { "ymlConfigPropertyBag": { "integrationName": "art", "integrationAlias": "sourceArtifactory" }, "systemPropertyBag": {}, "staticPropertyBag": {}, "yml": { "name": "svc_build_info_sample", "type": "BuildInfo", "configuration": { "sourceArtifactory": "art", "buildName": "svc_build", "buildNumber": 1 } }, "id": 2019, "name": "svc_build_info_sample", "pipelineSourceBranch": null, "projectIntegrationId": 65, "typeCode": 2018, "latestResourceVersionId": 2634, "projectId": 1, "pipelineSourceId": 1181, "isDeleted": false, "deletedAt": null, "isConsistent": true, "isInternal": false, "syntaxVersion": "v1.0", "nextTriggerTime": null, "createdAt": "2020-02-23T00:42:48.028Z", "updatedAt": "2020-02-23T00:42:52.946Z" }
Response Codes:
200: Success
404: No resource is found for the supplied id.