Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new controller to expose endpoints that can be used with shields.io #12

Open
devatherock opened this issue Oct 19, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@devatherock
Copy link
Owner

devatherock commented Oct 19, 2020

The spec is documented at https://shields.io/endpoint. The embedded badge would look like https://img.shields.io/endpoint?url=... and the URL will be this to be created endpoint, which should return a response like below:

{
  "schemaVersion": 1,
  "label": "hello",
  "message": "sweet world",
  "color": "orange"
}

Exposing these endpoints would provide users a way to generate the badges directly from shields.io, taking advantage of its caching and also get around the occasional Received fatal alert: handshake_failure errors

@devatherock devatherock added the enhancement New feature or request label Oct 19, 2020
@devatherock devatherock added wontfix This will not be worked on and removed enhancement New feature or request labels Jun 17, 2023
@devatherock devatherock added enhancement New feature or request and removed wontfix This will not be worked on labels Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant