ungleich-tools/matrix/synapse_version.sh
Nico Schottelius 5fa7fa7d59 synapse: second script that does the same thing
Away from my stash
2026-09-01 12:37:22 +02:00

12 lines
193 B
Bash
Executable file

#!/bin/sh
# 2026-08-10, Nico Schottelius
if [ $# -ne 1 ]; then
echo $0: matrix-server
exit 1
fi
server=$1; shift
url=https://${server}/_synapse/admin/v1/server_version
curl "${url}"