diff --git a/curl.md b/curl.md index 0c9fa88..d467657 100644 --- a/curl.md +++ b/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" +``` \ No newline at end of file