List Dashboards
List Dashboards
GET
https://api.ocamba.com/v2/ocamba/dashboards
Returns a list of DashboardsQuery parameters
parametersResponse schemas
›
200
application/json
curl -X GET \
"https://api.ocamba.com/v2/ocamba/dashboards" \
-H "Authorization: Bearer {TOKEN}"const url = 'https://api.ocamba.com/v2/ocamba/dashboards';
const options = {
method: 'GET',
headers: {
Authorization: `Bearer {TOKEN}`
}
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}$ch = curl_init("https://api.ocamba.com/v2/ocamba/dashboards");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);Responses
200 OK
{
"id": "2c9ab0a8-d0d2-49aa-b790-9697cc3aed14",
"app_id": "1001",
"name": "Activity dashboard",
"description": "Displays user activity",
"system": 1,
"is_default": 1,
"create_time": "2021-07-30 12:50:13",
"update_time": "2021-07-30 12:50:13"
}
Responses
Tip
Filterable fields are: name, code, create_time and update_time.