[feat] Control public access to /api/v1/instance/peers endpoint #363
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#363
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The idea
The endpoint
/api/v1/instance/peers
should be controllable by the admin if they do not want to make this kind of information public.The reasoning
There doesn't seem to be any genuine use case for this except posing a privacy risk, apparently by MastoFE?, and giving more data for those "fediverse scraping bots" which is not desirable.
Currently there is no way to control this except at the proxy level such as:
respond /api/v1/instance/peers "girlboss.ceo" 451
Have you searched for this feature request?