List the pull requests linked to a deployment
The linked pull requests, how the deployment is removed when they are all done, and whether a removed deployment can be recreated.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidThe linked pull requests.
application/json- response
items*array<>settings*recreateOffer*booleanThe deployment was removed and a linked pull request is open again.
templateName?stringtemplateVersion?integercurl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/pull-requests'{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "repository": "string", "number": 0, "title": "string", "author": "string", "headRef": "string", "baseRef": "string", "headSha": "string", "state": "open", "fork": true, "approvedBy": "string", "needsApproval": true, "followed": true, "closedAt": "2019-08-24T14:15:22Z" } ], "settings": { "graceMinutes": 0, "keep": true, "status": true, "button": true, "comment": true, "phase": "active", "removeAt": "2019-08-24T14:15:22Z" }, "recreateOffer": true, "templateName": "string", "templateVersion": 0}Set how a deployment uses services PUT
Shared uses the instance that runs in the service's environment: the connection Secret is copied into the deployment's namespace and an ExternalName Service points at the instance. An own copy adds the service's app to the deployment, so it is removed with it. A shared service must run in the enviro
Link a pull request to a deployment POST
The repository must be one an app of the deployment reads, and that app must be set to get a deployment for a pull request. The host is asked for the pull request. The deployment's app of that repository follows its head and syncs on every push; its other apps stay as set. A pull request from a fork