curl を更新
parent
2e98b5df8d
commit
a36129c1d8
12
curl.md
12
curl.md
@ -414,3 +414,15 @@ link
|
|||||||
|
|
||||||
- https://github.com/bluesky-social/atproto/pull/3761/files
|
- https://github.com/bluesky-social/atproto/pull/3761/files
|
||||||
- https://github.com/bluesky-social/social-app/pull/8226
|
- 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
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user