Deployments
Preview

List the changes proposed to adopt drift

The deployment's adoptions, newest first, up to 200.

GET
/deployments/{deploymentId}/drift/adoptions
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

deploymentId*string
Formatuuid

Response Body

The adoptions.

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/drift/adoptions'
Example Response
{  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2",      "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8",      "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861",      "baseDigest": "string",      "object": {        "group": "string",        "version": "string",        "kind": "string",        "namespace": "string",        "name": "string"      },      "patch": [        {          "op": "add",          "path": "string",          "value": null        }      ],      "state": "pending",      "createdBy": "string",      "createdAt": "2019-08-24T14:15:22Z",      "decidedBy": "string",      "decidedAt": "2019-08-24T14:15:22Z"    }  ]}