curl を更新
parent
8715209259
commit
247a82902d
11
curl.md
11
curl.md
@ -54,3 +54,14 @@ url=https://${host}/xrpc/com.atproto.server.refreshSession
|
||||
curl -sL -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $refresh" $url
|
||||
```
|
||||
|
||||
## feed
|
||||
|
||||
- https://feed.syu.is/xrpc/app.bsky.feed.getFeedSkeleton?feed=at://did:plc:4hqjfn7m6n5hno3doamuhgef/app.bsky.feed.generator/cmd
|
||||
- https://desc.syu.is/xrpc/app.bsky.feed.getFeedSkeleton?feed=at://did:plc:6qyecktefllvenje24fcxnie/app.bsky.feed.generator/cmd
|
||||
|
||||
```sh
|
||||
# https://docs.bsky.app/docs/api/app-bsky-feed-get-feed
|
||||
token=`cat ~/.config/ai/token.json|jq -r .accessJwt`
|
||||
url=at://did:plc:6qyecktefllvenje24fcxnie/app.bsky.feed.generator/cmd
|
||||
curl -sL "https://syu.is/xrpc/app.bsky.feed.getFeed?feed=$url" -H "Authorization: Bearer $token"
|
||||
```
|
Loading…
Reference in New Issue
Block a user