donphan/app/serializers
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 Refactor account and status formatting (#17877) 2022-03-28 01:17:17 +02:00
nodeinfo Add “services” and “metadata” to NodeInfo (#18563) 2022-06-01 16:24:07 +02:00
rest Add /api/v1/admin/domain_blocks (#18247) 2022-06-01 17:31:36 +02:00
web Fix web push notifications containing HTML entities (#18071) 2022-04-23 21:47:43 +02:00
initial_state_serializer.rb Add language dropdown to compose in web UI (#18420) 2022-05-16 11:18:35 +02:00
manifest_serializer.rb fix: PWA web manifest not changed to new routes (#17921) 2022-03-31 11:20:26 +02:00
oembed_serializer.rb Improve RSS entries for statuses (#13592) 2020-05-10 09:50:54 +02:00
webfinger_serializer.rb Remove XML version of Webfinger and remove links to Atom feeds (#11460) 2019-08-01 19:14:02 +02:00