Class: Infrawrench::DashboardsDefaultNamespace
- Inherits:
-
Object
- Object
- Infrawrench::DashboardsDefaultNamespace
- Defined in:
- lib/infrawrench/client.rb,
sig/infrawrench/sdk.rbs
Overview
client.dashboards.default
Instance Method Summary collapse
-
#full(org_id: nil, request_options: nil) ⇒ Hash
Get-or-create the default dashboard with its pins.
-
#initialize(transport) ⇒ DashboardsDefaultNamespace
constructor
private
A new instance of DashboardsDefaultNamespace.
Constructor Details
#initialize(transport) ⇒ DashboardsDefaultNamespace
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of DashboardsDefaultNamespace.
1286 1287 1288 |
# File 'lib/infrawrench/client.rb', line 1286 def initialize(transport) @transport = transport end |
Instance Method Details
#full(org_id: nil, request_options: nil) ⇒ Hash
Get-or-create the default dashboard with its pins
Requires permission: dashboards:read.
GET /api/org/orgId/dashboards/default/full
1301 1302 1303 1304 1305 1306 1307 1308 |
# File 'lib/infrawrench/client.rb', line 1301 def full(org_id: nil, request_options: nil) @transport.request( http_method: "GET", path: "/api/org/{orgId}/dashboards/default/full", path_params: { "orgId" => org_id }, request_options: ) end |