mozaik-ext-bitbucket-rest-api

0.0.2 • Public • Published

Mozaïk value widgets

Value widget for the Mozaïk dashboard framework.

Preview

value

Value Widget Configuration

Api Configuration

api: {
  bitbucket: {
    apiToken: process.env.BITBUCKET_CREDS
  }
}

Dashboard Configuration

{
  // ...
  {
      baseUrl:"https://bitbucket.example.co.uk",
      type:"bitbucket.pullrequests",
      title: "Login OpenID Connect Pull Requests",
      projectKey: "PD",
      repoSlug: "login-openid-connect",
      columns: 4, rows: 4,
      x: 0, y: 0 
  },
}

Parameters

key required description example
baseUrl yes The base URL of your bitbucket environment 'https://bitbucket.example.co.uk'
title yes The widget title 'Login OpenID Connect Pull Requests'
projectKey yes The key of your project, can be found in the url while viewing the project 'PD'
repoSlug yes The slug of your repository, can be found in the url while viewing the repository 'login-openid-connect'

Package Sidebar

Install

npm i mozaik-ext-bitbucket-rest-api

Repository

github.com/

Homepage

github.com

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • callumatpixelpin