Layout Statistic
POST
/admin/statistics/layout
const url = 'http://localhost:9000/admin/statistics/layout';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"layout":["example"],"x":1,"y":1,"w":1,"h":1,"visible":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:9000/admin/statistics/layout \ --header 'Content-Type: application/json' \ --data '{ "layout": [ "example" ], "x": 1, "y": 1, "w": 1, "h": 1, "visible": true }'Request Body required
Section titled “Request Body required ” Media type application/json
object
layout
required
Array<string>
x
required
number
y
required
number
w
required
number
h
required
number
visible
boolean
Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}