+6
parakeet/src/xrpc/app_bsky/mod.rs
+6
parakeet/src/xrpc/app_bsky/mod.rs
···
10
10
#[rustfmt::skip]
11
11
pub fn routes() -> Router<crate::GlobalState> {
12
12
Router::new()
13
+
.route("/app.bsky.actor.getPreferences", get(not_implemented))
14
+
.route("/app.bsky.actor.putPreferences", post(not_implemented))
13
15
.route("/app.bsky.actor.getProfile", get(actor::get_profile))
14
16
.route("/app.bsky.actor.getProfiles", get(actor::get_profiles))
15
17
// TODO: app.bsky.actor.getSuggestions (recs)
···
63
65
// TODO: app.bsky.notification.putPreferences
64
66
// TODO: app.bsky.notification.putPreferencesV2
65
67
}
68
+
69
+
async fn not_implemented() -> axum::http::StatusCode {
70
+
axum::http::StatusCode::NOT_IMPLEMENTED
71
+
}