Vigilfield Docs
API referenceRules

`GET /rules/{id}/versions/{version}` — one saved version: the whole definition, as `GET /rules/{id}` names its fields, with who saved it and when.

GET/rules/{id}/versions/{version}

Path Parameters

id*string

Rule id

version*string

Version number, from 1

Response Body

application/json

curl -X GET "https://example.com/rules/string/versions/string"
{  "alerting": null,  "description": "string",  "enabled": true,  "name": "string",  "owner_team_id": "string",  "query": null,  "restored_from": 0,  "rule_id": "string",  "saved_at": "string",  "saved_by": {    "kind": "user",    "name": "string",    "user_id": "string"  },  "schedule": "string",  "status": null,  "version": 0}