Head revision of the graph
GET
/v1/revisions/current
const url = 'http://localhost:8090/v1/revisions/current';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8090/v1/revisions/currentThe revision record of the latest commit, or the bare revision number when the backend holds no record for it. Every committed patch in any workspace advances it.
Responses
Section titled “ Responses ”Head revision
