REST API · config

GET /config/diff

The change-gate preview: a structured diff between what a publish would send right now (the frozen pending schedule if one exists, otherwise the live draft) and the currently-published config.

get_api_config_diff

Authentication

  • Bearer

Responses

200

The structured change-gate preview.

application/json

{
    "source": "draft",
    "scheduledAt": null,
    "project": [],
    "lines": [
        {
            "lineKey": "v1",
            "status": "added",
            "active": true,
            "name": "v1",
            "endpoints": [
                {
                    "id": "58939229-9f32-49da-a64f-1f834fec3784",
                    "name": "Lifecycle webhook",
                    "url": "/lifecycle",
                    "httpMethod": "POST",
                    "strict": false,
                    "attributes": [],
                    "targets": [],
                    "mock": true,
                    "mockResponse": {
                        "statusCode": 200,
                        "contentType": "application/json",
                        "body": "{\"version\":\"stable\"}"
                    }
                }
            ]
        }
    ],
    "hasChanges": true
}

← REST API reference