1
0
Fork 0
forked from fedi/mastodon
mastodon/spec/controllers
Claire 28329ba62f
Add /api/v1/admin/domain_blocks (#18247)
* Add /api/v1/admin/domain_blocks

Fixes #18140

- `GET /api/v1/admin/domain_blocks` lists domain blocks
- `GET /api/v1/admin/domain_blocks/:id` shows one by ID
- `DELETE /api/v1/admin/domain_blocks/:id` deletes a given domain block
- `POST /api/v1/admin/domain_blocks` to create a new domain block:
  if it conflicts with an existing one, returns an error with
  an attribute `existing_domain_block` with the rendered domain block

* Simplify conflict handling as suggested in review
2022-06-01 17:31:36 +02:00
..
activitypub Spelling (#17705) 2022-03-06 22:51:40 +01:00
admin Fix test-related issues (#17888) 2022-03-28 12:43:58 +02:00
api Add /api/v1/admin/domain_blocks (#18247) 2022-06-01 17:31:36 +02:00
auth Remove sign-in token authentication, instead send e-mail about new sign-in (#17970) 2022-04-06 20:58:12 +02:00
concerns Fix single Redis connection being used across all threads (#18135) 2022-04-28 17:47:34 +02:00
disputes
oauth
settings Remove unused filtered_languages column (#18533) 2022-05-27 20:05:22 +02:00
well_known
about_controller_spec.rb
account_follow_controller_spec.rb
account_unfollow_controller_spec.rb
accounts_controller_spec.rb Spelling (#17705) 2022-03-06 22:51:40 +01:00
application_controller_spec.rb Spelling (#17705) 2022-03-06 22:51:40 +01:00
authorize_interactions_controller_spec.rb
emojis_controller_spec.rb
follower_accounts_controller_spec.rb Add /api/v1/accounts/familiar_followers to REST API (#17700) 2022-03-07 09:36:47 +01:00
following_accounts_controller_spec.rb Add /api/v1/accounts/familiar_followers to REST API (#17700) 2022-03-07 09:36:47 +01:00
home_controller_spec.rb
instance_actors_controller_spec.rb
intents_controller_spec.rb
invites_controller_spec.rb
manifests_controller_spec.rb
media_controller_spec.rb
media_proxy_controller_spec.rb
relationships_controller_spec.rb
remote_follow_controller_spec.rb
remote_interaction_controller_spec.rb
shares_controller_spec.rb
statuses_cleanup_controller_spec.rb
statuses_controller_spec.rb Spelling (#17705) 2022-03-06 22:51:40 +01:00
tags_controller_spec.rb