- Home
- API Enriched
- Admin Console And Ui
- web
- List Dashboard Layouts.
List Dashboard Layouts.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/web/custom/namespaces/system/dashboards/example/layouts';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/web/custom/namespaces/system/dashboards/example/layouts \ --header 'Authorization: <Authorization>'List returns all dashboard layouts created by the user.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”DashboardId
x-required DashboardId is the unique ID for each dashboard types, the preset unique ID is defined in stellar code.
Responses
Section titled “Responses”A successful response.
ListDashboardLayoutResponse returns the name and description of the dashboard layouts created by the user.
object
LayoutList lists information about dashboards created by the user.
LayoutListItem contains the name, description, and selection status of the dashboard layout.
object
Description describes the dashboard layout.
IsSelected indicates whether the current layout is the default selected by the user.
LayoutName is the name of the dashboard layout.
Examplegenerated
{ "layout_list": [ { "description": "example", "is_selected": true, "layout_name": "example" } ]}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example