]> git.proxmox.com Git - pmg-docs.git/blob - api-viewer/PMGAPI.js
d/control: define compat level via build-depends and raise to 13
[pmg-docs.git] / api-viewer / PMGAPI.js
1 var clicmdhash = {
2 GET: 'get',
3 POST: 'create',
4 PUT: 'set',
5 DELETE: 'delete'
6 };
7
8 function cliUsageRenderer(method, path) {
9 return `<tr><td>&nbsp;</td></tr><tr><td>CLI:</td><td>pmgsh ${clicmdhash[method]} ${path}</td></tr></table>`;
10 }