From 247a82902de3850b25746f5f72ac7b148223425b Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 19 Oct 2024 11:05:30 +0000 Subject: [PATCH] =?UTF-8?q?curl=20=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- curl.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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