Something went wrong. Try again.
A personal app view to see Bsky posts of your followers (for when their app view goes down)
Something went wrong. Try again.
748 B · 23 lines
Rust
at test
123456789101112131415161718192021222324use crate::server::AppState;use crate::server::XrpcErrorResponse;
use axum::{Json, extract::State};use jacquard_api::app_bsky::feed::get_feed_generators::{ GetFeedGeneratorsOutput, GetFeedGeneratorsRequest,};use jacquard_axum::ExtractXrpc;use jacquard_axum::service_auth::ExtractOptionalServiceAuth;
//app.bsky.feed.getFeedGeneratorspub async fn app_bsky_feed_get_feed_generators( State(_): State<AppState>, ExtractOptionalServiceAuth(_auth): ExtractOptionalServiceAuth, ExtractXrpc(_): ExtractXrpc<GetFeedGeneratorsRequest>,) -> Result<Json<GetFeedGeneratorsOutput<'static>>, XrpcErrorResponse> { let feeds = Vec::new();
Ok(Json(GetFeedGeneratorsOutput { feeds: feeds, extra_data: None, }))}