watchlistarr icon indicating copy to clipboard operation
watchlistarr copied to clipboard

Proof of Concept - Watchlistarr API

Open nylonee opened this issue 1 year ago • 1 comments

Added an API to allow sending new configuration to Watchlistarr.

Can be used to prototype and experiment with building a GUI

Example cURL command:

curl --location --request PATCH 'localhost:3434/config' \
--header 'Content-Type: application/json' \
--data '{
    "interval.seconds": "30"
}'

Summary by CodeRabbit

  • New Features
    • Introduced HTTP PATCH request handling for dynamic configuration updates.
    • Enhanced Docker and Java configuration flexibility for Watchlistarr.
  • Documentation
    • Updated README with new Docker configuration instructions and debug mode activation.
  • Refactor
    • Optimized Dockerfile build process.
    • Refactored server setup and configuration management in the Scala application.
  • Chores
    • Updated .gitignore to exclude the config directory.
    • Added new dependencies to improve functionality.

nylonee avatar Feb 17 '24 14:02 nylonee