ungleich-tools/matrix/get-server-version.sh
2026-08-31 10:36:02 +02:00

14 lines
233 B
Bash

#!/bin/sh
# 2026-08-29, Nico Schottelius
if [ $# -ne 1 ]; then
echo $0 matrix-server-or-domain
exit 1
fi
fqdn=$1; shift
path_version=$fqdn/_synapse/admin/v1/server_version
path_well_known=$fqdn/.well-known/matrix/client