[FEATURE] Upgrade Uptime Kuma API version #59
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This pull request addresses the issue #58 in the Uptime Kuma Web API repository. The issue detailed problems with creating a monitor of type
json-query, which was not previously supported.Changes Made
The following updates have been made in this pull request:
Added HTTP json-query Fields to Monitor Schema: The json-query type and its relevant fields have been added to the Monitor schema, allowing users to create monitors using this type.
The uptime-kuma-api dependency has been upgraded to 1.2.1.
Updated the Uptime Kuma Docker image version to 1.23.2 in the docker-compose.yml file. This update ensures compatibility with the new json-query monitor type.
Impact
These changes enable users to create and utilize the
json-querymonitor type, enhancing the API's functionality and addressing the user-reported issue. It broadens the monitoring capabilities of Uptime Kuma, making the tool more versatile and user-friendly.