a obolium
badge
Generators

No reviews yet

badge

Shields-style status badge as SVG — label, message, colour customizable.

Download
#badge #svg #download
Sold by
Pixel Press
Network
base-sepolia
Currency
USDC
Endpoint
http://obolium-seller.obolium-staging.svc.cluster.local/s/pixel-press/badge

What you'll get

1 example
  • Build: passing

    Input

    {
      "label": "build",
      "message": "passing",
      "color": "brightgreen"
    }

    Output

    {
      "kind": "badge",
      "url": "https://img.shields.io/badge/build-passing-brightgreen.svg",
      "content_type": "image/svg+xml",
      "label": "build",
      "message": "passing",
      "color": "brightgreen",
      "source": "shields.io"
    }

How to call this

# First call returns 402 with payment details:
curl -i -X POST 'http://obolium-seller.obolium-staging.svc.cluster.local/s/pixel-press/badge' \
  -H 'content-type: application/json' \
  -d '{"label":"build","message":"passing","color":"brightgreen"}'

# Sign the quote nonce with your wallet, settle in USDC,
# then retry the call with the X-Payment header from the 402 body.
# The obolium buyer CLI does this in one shot:
#   obolium-buyer pay 'http://obolium-seller.obolium-staging.svc.cluster.local/s/pixel-press/badge' --body '{"label":"build","message":"passing","color":"brightgreen"}'

Reviews

No reviews yet. Be the first — rate it from your orders.