This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
rfiddriver/manager
Mikaël Ates f6092a18bd Config Web manager.
WSGI application with a gunicorn running script.

    For reading and writing the JSON config file.

    E.g. with run with:
    python -m manager.server -b 127.0.0.1:9000

    Get config with:
    curl --header "Accept: application/json" http://127.0.0.1:9000/config

    Get one setting with:
    curl --header "Accept: application/json" http://127.0.0.1:9000/your_setting

    Set config with:
    curl -H "Content-Type: application/json" -X POST -d 'your_json_config' \
        --header "Accept: application/json" http://127.0.0.1:9000/config

    Set setting with:
    curl -H "Content-Type: application/json" -X POST -d '{"your_setting": value}' \
        --header "Accept: application/json" http://127.0.0.1:9000/your_setting
2016-03-10 07:08:50 +01:00
..
__init__.py Config Web manager. 2016-03-10 07:08:50 +01:00
server.py Config Web manager. 2016-03-10 07:08:50 +01:00
wsgi.py Config Web manager. 2016-03-10 07:08:50 +01:00