akiomik/seiun

Support for My Feeds

brian6932 opened this issue · 0 comments

https://bsky.app/feeds

request (replace $server with your local server, and $jwt with your jwt token)

GET /xrpc/app.bsky.actor.getPreferences HTTP/2
Host: enoki.$server.host.bsky.network
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
authorization: Bearer $jwt
Origin: https://bsky.app
DNT: 1
Sec-GPC: 1
Connection: keep-alive
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
If-None-Match: W/"349-SWwpR5qWL31vpiXvOJvXryqYzQU"
TE: trailers

response

{
	"preferences": [
		{
			"$type": "app.bsky.actor.defs#savedFeedsPref",
			"pinned": [
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:..."
			],
			"saved": [
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:..."
			]
		}
	]
}