ai/at
ai/at
1
0

curl を更新

syui 2025-04-23 01:53:34 +00:00
parent 112f8ddfb1
commit 52d9dbbb7e

@ -421,7 +421,7 @@ $ curl -sL "https://syu.is/xrpc/com.atproto.repo.listRecords?repo=ai.syu.is&coll
```sh ```sh
host=syu.is host=syu.is
admin_password=xxx admin_password=xxx
url=https://${host}/xrpc/com.atproto.admin.takeModerationAction url=https://${host}/xrpc/com.atproto.admin.updateSubjectStatus
json="{\"action\": \"com.atproto.admin.defs#modEventReport\", \"subject\": {\"$type\": \"com.atproto.admin.defs#repoRef\", \"did\": \"did:plc:example\"}}" json="{\"action\": \"com.atproto.admin.defs#authVerifier\", \"subject\": {\"$type\": \"com.atproto.admin.defs#repoRef\", \"did\": \"did:plc:example\"}}"
curl -X POST -u admin:${admin_password} -H "Content-Type: application/json" -d "$json" -sL $url curl -X POST -u admin:${admin_password} -H "Content-Type: application/json" -d "$json" -sL $url
``` ```