diff options
author | D. Scott Boggs <scott@tams.tech> | 2023-03-23 07:54:17 -0400 |
---|---|---|
committer | D. Scott Boggs <scott@tams.tech> | 2024-04-08 09:26:32 -0400 |
commit | 4fcfe219fdd2196fca732e2aadd68451dc6f7bb7 (patch) | |
tree | b9695cbe537fbd6a9fad42dcf08469e9051c5e95 | |
parent | 1cef5e9701f5262e9d5b0bfc3882ccdce7f011ac (diff) |
Comb apps methods
-rw-r--r-- | src/mastodon.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mastodon.rs b/src/mastodon.rs index e3931d8..6b545ea 100644 --- a/src/mastodon.rs +++ b/src/mastodon.rs @@ -1,6 +1,7 @@ use std::{borrow::Cow, ops::Deref, path::Path, sync::Arc}; use crate::{ + apps::App, entities::prelude::*, errors::{Error, Result}, helpers::read_response::read_response, @@ -87,6 +88,8 @@ impl Mastodon { (delete) delete_push_subscription: "push/subscription" => Empty, (get) get_filters: "filters" => Vec<Filter>, (get) get_follow_suggestions: "suggestions" => Vec<Account>, + (post (app: App,)) create_app: "apps" => Application, + (get) verify_app: "apps/verify_credentials" => Application, } route_v2! { |