summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-06-12 11:37:36 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-06-12 11:38:08 +0200
commit9891276246b96ca1bc43383b3e434a7d8f0ed91f (patch)
tree8033d0ba7cded6fde5f8474ebd09aebc90bd2ca7 /extras
parent51f275a867b4a7007ea6e2aa93f350f08be2680e (diff)
rest: Add /center/info
Add URI to allow a GET request to obtain info about a center (name, id and comment of the center as of now). To use this uri, simply send a GET request with a json containing the id of the center whose info needs to be consulted: curl -X GET -H "Authorization: $API_KEY" http://127.0.0.1:8888/center/info -d '{"id":1}' based on work from Javier Hernandez.
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions