ai/at
ai/at
1
0

curl を更新

syui 2025-04-23 01:19:55 +00:00
parent 2e98b5df8d
commit a36129c1d8

12
curl.md

@ -414,3 +414,15 @@ link
- https://github.com/bluesky-social/atproto/pull/3761/files
- https://github.com/bluesky-social/social-app/pull/8226
推測
- https://github.com/bluesky-social/atproto/blob/main/packages/pds/src/auth-verifier.ts
```sh
host=syu.is
admin_password=xxx
url=https://${host}/xrpc/com.atproto.admin.takeModerationAction
json="{\"action\": \"com.atproto.admin.defs#modEventReport\", \"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
```