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

Issue while trying the Shield endpoint for a custom service #3081

Closed
1 of 3 tasks
adriens opened this issue Feb 23, 2019 · 3 comments
Closed
1 of 3 tasks

Issue while trying the Shield endpoint for a custom service #3081

adriens opened this issue Feb 23, 2019 · 3 comments

Comments

@adriens
Copy link

adriens commented Feb 23, 2019

Are you experiencing an issue with...

🪲 Description

I have developed a custom REST/json service

https://eaux-baignade-noumea.herokuapp.com/plages/5/shield

that sends back the following content :

{
  "schemaVersion": 1,
  "label": "Plage De La Baie Des Citrons",
  "messsage": "Swim forbidden !",
  "color": "red"
}

This looks like it matches the specs :

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

🔗 Link to the badge

When I use :

https://img.shields.io/badge/endpoint.svg?url=https://eaux-baignade-noumea.herokuapp.com/plages/5/shield

I get :

2019-02-23 12_46_52-firefox developer edition

Invalid properties:message

Any idea what I did wrong please ?

Thank you in advance for your help.

@adriens
Copy link
Author

adriens commented Feb 23, 2019

This is linked to #2838

@adriens
Copy link
Author

adriens commented Feb 23, 2019

Wait, I think I got it !

@adriens
Copy link
Author

adriens commented Feb 23, 2019

My mistake !!! Dummy typo : messsage instead of message 😿

@adriens adriens closed this as completed Feb 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant