We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since I don't want to add too much complexity, this method is instance level, and only the admin can block other instances/actors.
This will only affect blocked instances/actors interactions with Hatsu instances, not their ability to view the contents of Hatsu instances.
Accepts a domain. https://instance.tld
https://instance.tld
Accepts a URL, this should be the id of the actor. https://instance.tld/users/foo
id
https://instance.tld/users/foo
Accepts a foo@instance.tld string, the Hatsu instance sends a WebFinger request to query the corresponding id.
foo@instance.tld
foo@instance.tld => https://instance.tld/.well-known/webfinger?resource=acct:foo@instance.tld
https://instance.tld/.well-known/webfinger?resource=acct:foo@instance.tld
Unblock versions of the three APIs above.
The text was updated successfully, but these errors were encountered:
I'll probably implement block actor/acct in v0.1.2 and block instance after v0.2.0. v0.3.0
The block_instance should accept a string and do an ends_with match.
block_instance example.com https://example.com (blocked) https://foo.example.com (blocked) block_instance https://example.com https://example.com (blocked) https://foo.example.com (not blocked)
Sorry, something went wrong.
kwaa
Successfully merging a pull request may close this issue.
Since I don't want to add too much complexity, this method is instance level, and only the admin can block other instances/actors.
This will only affect blocked instances/actors interactions with Hatsu instances, not their ability to view the contents of Hatsu instances.
/api/v0/admin/block_instance
Accepts a domain.
https://instance.tld
/api/v0/admin/block_actor
Accepts a URL, this should be the
id
of the actor.https://instance.tld/users/foo
/api/v0/admin/block_acct
Accepts a
foo@instance.tld
string, the Hatsu instance sends a WebFinger request to query the corresponding id.foo@instance.tld
=>https://instance.tld/.well-known/webfinger?resource=acct:foo@instance.tld
/api/v0/admin/unblock_{instance,actor,acct}
Unblock versions of the three APIs above.
The text was updated successfully, but these errors were encountered: