Skip to main content

Get SQL Query Version

GET 

/sql/:sqlID/version/:version

Fetch a historical { query, params } snapshot of a saved query. There is no dedicated restore endpoint: restore = fetch a snapshot, then PUT its { query, params } back, which snapshots the restored content as the next version. A missing query id or a version not in the map returns 404.

Request

Responses

The requested snapshot.