cURL
curl --request GET \ --url https://api.logfleet.io/api/v1/metric-configs/{configId}/versions \ --header 'Authorization: Bearer <token>'
{ "versions": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "config_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "version": 123, "config_snapshot": {}, "created_at": "2023-11-07T05:31:56Z", "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ], "total": 123 }
Returns version history for a config
JWT token obtained from /auth/login
Metric config ID
x <= 100
Version history
Show child attributes