Apps and sources
PreviewList the deployments that use a source
The deployments of the apps built from the source that the caller may read, by name, each with the newest commit its branch was seen at and its newest render.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
sourceId*stringFormat
uuidlimit?integerPage size. Defaults to 50, at most 200.
Range
1 <= value <= 200Default
50cursor?stringOpaque cursor from a previous page's nextCursor.
A page of deployments.
application/json- response
items*array<>nextCursor?stringcurl -X GET 'https://wardn.example.com/api/v1/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/deployments'Example Response
{ "items": [ { "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2", "deploymentName": "string", "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "appName": "string", "targetName": "string", "namespace": "string", "arrival": "branch", "branch": "string", "lastCommit": "string", "lastPushAt": "2019-08-24T14:15:22Z", "lastRenderAt": "2019-08-24T14:15:22Z", "lastRenderSnapshotId": "9c791ea7-7c48-41b1-967e-0e8fb0dbcd60", "lastRenderCommit": "string" } ], "nextCursor": "string"}List the branches of a git source GET
The branches the repository has now, by name, each with the commit it points at. Asked of the repository itself, so a deployment form can offer the real branches. An OCI source has none and answers Invalid. A repository that cannot be reached answers Unavailable.
List apps GET
Next Page