-
Notifications
You must be signed in to change notification settings - Fork 7
mastodon_api_generic_routes
Alex Kirk edited this page Feb 8, 2025
·
10 revisions
add_filter(
'mastodon_api_generic_routes',
function ( array $string_list ) {
// Your code here
return $string_list;
}
);
-
array
$string_list
apply_filters(
'mastodon_api_generic_routes',
array(
'api/v1/accounts/relationships',
'api/v1/accounts/verify_credentials',
'api/v1/accounts/update_credentials',
'api/v1/accounts/familiar_followers',
'api/v1/accounts/search',
'api/v1/accounts/lookup',
'api/v1/announcements',
'api/v1/apps',
'api/v1/bookmarks',
'api/v1/conversations',
'api/v1/custom_emojis',
'api/v1/favourites',
'api/v1/filters',
'api/v1/follow_requests',
// ...