-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fixed payload format #7754
Fixed payload format #7754
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution. Could you please add a changelog fragment? Thanks.
I have added the changelog fragment. |
LGTM! Thanks for the contribution! |
@eeferg in case you added the changelog fragment, you haven't pushed it :) |
(It's a YAML file in changelogs/fragments/.) |
Co-authored-by: Felix Fontein <felix@fontein.de>
Thanks for the assistance on my first commit. |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #7762 🤖 @patchback |
* Fixed payload format * added changelog fragment * Update changelogs/fragments/7754-fixed-payload-format.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Ed Ferguson <eferguson@nrtc.coop> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 4a1006a)
Backport to stable-8: 💚 backport PR created✅ Backport PR branch: Backported as #7763 🤖 @patchback |
* Fixed payload format * added changelog fragment * Update changelogs/fragments/7754-fixed-payload-format.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Ed Ferguson <eferguson@nrtc.coop> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 4a1006a)
@eeferg thank you very much for fixing this! |
Fixed payload format (#7754) * Fixed payload format * added changelog fragment * Update changelogs/fragments/7754-fixed-payload-format.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Ed Ferguson <eferguson@nrtc.coop> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 4a1006a) Co-authored-by: Ed Ferguson <5855090+eeferg@users.noreply.github.com>
Fixed payload format (#7754) * Fixed payload format * added changelog fragment * Update changelogs/fragments/7754-fixed-payload-format.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Ed Ferguson <eferguson@nrtc.coop> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 4a1006a) Co-authored-by: Ed Ferguson <5855090+eeferg@users.noreply.github.com>
SUMMARY
Changes the REST API Payload format to work with the current status.io API
There was no known bugfix issue for this. I discovered it this week and found a fix.
bugfixes:
Failed to create maintenance: HTTP Error 400: Bad Request
caused by bad data type for date/time and deprecated dict keys.ISSUE TYPE
COMPONENT NAME
community.general.statusio_maintenance
ADDITIONAL INFORMATION
The current status.io API requires a combined infrastructure ID, in the form of 'component_id-container_id'. I have not been able to find any change history on the API to show when this changed from what the original module was sending but the individual component_id and container_id are no longer supported.