mirror of
https://git.anonymousland.org/anonymousland/infrastructure.git
synced 2024-12-29 06:46:13 -05:00
Add additional Synapse scripts
This commit is contained in:
parent
3171f10371
commit
c8d934eba8
2
scripts/synapse/blockstatus.sh
Normal file
2
scripts/synapse/blockstatus.sh
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
docker exec -it synapse curl --header "Authorization: Bearer TOKEN" -X GET http://0.0.0.0:8008/_synapse/admin/v1/rooms/ROOMID/block
|
2
scripts/synapse/getrooms.sh
Normal file
2
scripts/synapse/getrooms.sh
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
docker exec -it synapse curl --header "Authorization: Bearer TOKEN" -X GET http://0.0.0.0:8008/_synapse/admin/v1/rooms
|
2
scripts/synapse/populate.sh
Normal file
2
scripts/synapse/populate.sh
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
docker exec -it synapse curl --header "Authorization: Bearer TOKEN" -X POST http://0.0.0.0:8008/_synapse/admin/v1/background_updates/start_job -d '{ "job_name": "populate_stats_process_rooms" }'
|
2
scripts/synapse/removemedia.sh
Normal file
2
scripts/synapse/removemedia.sh
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
docker exec -it synapse curl --header "Authorization: Bearer TOKEN" -X POST http://0.0.0.0:8008/_synapse/admin/v1/purge_media_cache?before_ts=TIME-IN-UNIX
|
Loading…
Reference in New Issue
Block a user