Support CI/CD

  • CD
  • CI

Create Sample Badge

Step 1

  • Your Code

    $ curl -X POST -H "Content-Type: application/json" https://badges.rhems-japan.com/api-update-badge
    -d '{"api_token": "api-token",
    "organization": "[organization]",
    "repo": "[repository]",
    "app": "[app name]",
    "branch": "[branch name]",
    "status": [true, false],
    "color": "[#000000]",
    "txt": "[text]"}'

Step 2

you can get user id when you login with github

$ https://badges.rhems-japan.com/api-get-badge.svg?user_id=[user id]&organization=[organization]&repo=[repository]&app=[app name]&branch=[branch name]

Using the ‘Sign-in’ Feature