Get

Learn how to list dashboards.

Command

$ vela get dashboard <parameters...> <arguments...>

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
fulloutput the repo and build information for the dashboardVELA_FULL, DASHBOARD_FULL
outputformat the output for dashboardsVELA_OUTPUT, DASHBOARD_OUTPUT

Sample

Request

$ vela get dashboard

Response

[{
  Name: Octocat Main Branches,
  ID: 59376e53-879f-478e-b6d2-b8aefe219c6d,
  Admins: [{
  Active: true,
  Admin: false,
  Dashboards: [],
  Favorites: [],
  ID: 1,
  Name: octokitty,
  Token: ,
}],
  CreatedAt: 1715117480,
  CreatedBy: octokitty,
  UpdatedAt: 1715117480,
  UpdatedBy: octokitty,
  Repos: [{
  Name: octocat/Hello-World,
  ID: 1,
  Branches: [main],
  Events: [],
} {
  Name: octocat/Spoon-Knife,
  ID: 2,
  Branches: [main],
  Events: [],
}],
} {
  Name: Octocat PR Events,
  ID: 0ebb9f01-389c-4a0f-b301-6bf2f9a0fe3b,
  Admins: [{
  Active: true,
  Admin: false,
  Dashboards: [],
  Favorites: [],
  ID: 1,
  Name: octokitty,
  Token: ,
}],
  CreatedAt: 1716397739,
  CreatedBy: octokitty,
  UpdatedAt: 1716397739,
  UpdatedBy: octokitty,
  Repos: [{
  Name: octocat/Hello-World,
  ID: 1,
  Branches: [],
  Events: [pull_request],
} {
  Name: octocat/Spoon-Knife,
  ID: 2,
  Branches: [],
  Events: [pull_request],
}],
}]

Examples

EXAMPLES:
  1. Get user dashboards.
    $ vela get dashboard
  2. Get user dashboards with repo and build information.
    $ vela get dashboard --full