latestOpenAPI 3.0.02026-08-138371125.7 KB
707a88e0b355
Cluster Lock
Retrieve lock revisions for a cluster
Returns locked revisions that share the same definition UUID and fork_version as the given lock, ordered by definition Mongo _id (insertion order). Diffs between revisions are not included; clients should compute them from lock details if needed.
get/v1/lock/{lockHash}/revisions
Path parameters
lockHashstring required
The lock_hash of the cluster lock currently being viewed.
Response
Cluster lock revisions
Example response
{
"uuid": "0194FDC2-FA2F-FCC0-41D3-FF12045B73C8",
"current_lock_hash": "0xd2880980169ee4a0000f23feb8fad9a6c70f38312956fe67aa89e118f5b0e048",
"latest_lock_hash": "0xd2880980169ee4a0000f23feb8fad9a6c70f38312956fe67aa89e118f5b0e048",
"revisions": [
{
"lock_hash": "0xd2880980169ee4a0000f23feb8fad9a6c70f38312956fe67aa89e118f5b0e048",
"name": "My Obol Cluster",
"definition_timestamp": "2022-07-19T18:19:58+02:00",
"config_hash": "0x2204ba6c238ed2d6a8ff951d4513db993c8d6f8860468391342649bf735a87d7"
}
]
}