Files
vm-contracts/test_vectors/receipt_v1_basic.json

52 lines
1018 B
JSON

{
"action": "servers.labels",
"receipt_version": "1",
"created_at": "2025-01-01T00:00:00.000Z",
"source": "vmc",
"reason": "test vector basic",
"target": {
"name": "alpha",
"ip": "1.2.3.4",
"id": 123
},
"request": {
"path": "/servers/123",
"method": "PUT",
"body": {
"labels": {
"b": "2",
"a": "1"
}
}
},
"response": {
"ok": true,
"status": 200,
"data": {
"result": "ok"
},
"raw": "{\"result\":\"ok\"}"
},
"prev_blake3": null,
"hash_alg": "blake3+sha256",
"blake3": "be1bf3fd91c6b78220ebd0c6a6d330bca04d3aa0de318e515bc1dbd5c9f64506",
"sha256": "43691cfe210f42b4b2fc4eb9b39a4bf8d35d75c2e42805d3f42aa89ad2d04aa5",
"plan_file": null,
"plan_sha256": null,
"plan_blake3": null,
"lock_file": null,
"lock_started_at": null,
"force": false,
"cwd": "/tmp/vm",
"user": "tester",
"hostname": "vector-host",
"argv": [
"vmc",
"servers",
"labels",
"alpha",
"a=1",
"b=2"
]
}