@stryker-mutator/dashboard-badge-api

0.15.1 • Public • Published

Mutation testing badge Build Status

Stryker dashboard Badge API

The Badge API azure function that is responsible for delivering the badge structure to shields.io.

Example of a badge URL: https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fstryker-mutator%2Fstryker-dashboard%2Fmaster%3Fmodule%3Dbadge-api

Example of a badge api URL itself:

HTTP GET https://badge-api.stryker-mutator.io/github.com/stryker-mutator/stryker-dashboard/master?module=badge-api

Response:

{
  "schemaVersion": 1,
  "label": "Mutation score",
  "message": "69.4%",
  "color": "orange",
  "namedLogo": "stryker",
  "logoColor": "whitesmoke"
}

Readme

Keywords

none

Package Sidebar

Install

npm i @stryker-mutator/dashboard-badge-api

Weekly Downloads

1,059

Version

0.15.1

License

none

Unpacked Size

18.3 kB

Total Files

11

Last publish

Collaborators

  • nicojs
  • archcry
  • simondel
  • strykermutator-npa