Dashboard

Dashboard

Methods

(route) create(:id)

Route:
MethodPath
PUT /api/bucket/:id/dashboard/
Create a dashboard of a bucket
Authentication

A authentication is needed to access this endpoint

Body Parameters:
Name Type Description
name String the name of the dashboard
children Object the list of component that compose the dashboard
Header Parameters:
Name Type Description
Authorization String bearer access token issued for the user
Route Parameters:
Name Type Description
:id String bucket id
Response:
Name Type Description
. Dashboard complete dashboard object from database
Response Code:
Type Description
500 database error
200 succesfully created dashboard
400 Invalid params
Parameters:
Name Type Description
:id bucket id

(route) remove(:id, :dashid)

Route:
MethodPath
DELETE /api/bucket/:id/dashboard/:dashid
Remove a dashboard from a bucket
Authentication

A authentication is needed to access this endpoint

Header Parameters:
Name Type Description
Authorization String bearer access token issued for the user
Route Parameters:
Name Type Description
:id String bucket id
:dashid String dashboard id
Response:
Name Type Description
. Array array of dashboards
Response Code:
Type Description
500 database error
200 succesfully deleted dashboard
400 Invalid params
404 dashboard not found
Parameters:
Name Type Description
:id bucket id
:dashid dashboard id

(route) retrieve(:id, :dashid)

Route:
MethodPath
GET /api/bucket/:id/dashboard/:dashid
Retrieve dashboards of a bucket
Authentication

A authentication is needed to access this endpoint

Header Parameters:
Name Type Description
Authorization String bearer access token issued for the user
Route Parameters:
Name Type Description
:id String bucket id
:dashid String dashboard id
Response:
Name Type Description
. Array array of dashboards
Response Code:
Type Description
500 database error
200 succesfully retrieved data
404 dashboard not found
400 Invalid params
Parameters:
Name Type Description
:id bucket id
:dashid dashboard id

(route) retrieveAll(:id)

Route:
MethodPath
GET /api/bucket/:id/dashboard/
Retrieve dashboards of a bucket
Authentication

A authentication is needed to access this endpoint

Header Parameters:
Name Type Description
Authorization String bearer access token issued for the user
Route Parameters:
Name Type Description
:id String bucket id
Response:
Name Type Description
. Array array of servers status
Response Code:
Type Description
500 database error
200 succesfully retrieved data
400 Invalid params
Parameters:
Name Type Description
:id bucket id

(route) update(:id, :dashId)

Route:
MethodPath
POST /api/bucket/:id/dashboard/:dashId
Update a dashboard of a bucket
Authentication

A authentication is needed to access this endpoint

Body Parameters:
Name Type Description
name String the name of the dashboard
children Object the list of component that compose the dashboard
Header Parameters:
Name Type Description
Authorization String bearer access token issued for the user
Route Parameters:
Name Type Description
:id String bucket id
:dashId String dashboard id
Response:
Name Type Description
. Array array of servers status
Response Code:
Type Description
500 database error
200 succesfully retrieved data
404 dashboard not found
400 Invalid params
Parameters:
Name Type Description
:id bucket id
:dashId dashboard id