discourse/spec/requests/api
Natalie Tay 3a6afa75e7
DEV: Supplement updateCategory API doc to include localizations (#33601)
We're moving the `_destroy` logic for localizations to the backend. The
`updateCategory` API should look something like this:

```
# Scenario: edit italian, add japanese, delete spanish (just exclude from list)

# PUT /categories/4
{
  "name": "General",
  "slug": "general",
  "color": "25AAE2",
  #  ...
  "category_localizations": [
    {
      "id": 102
      "locale": "it",
      "name": "generale",
      "description": "Si prega di creare qui argomenti che non rientrano in altre categorie esistenti."
    }
    {
      "locale": "ja",
      "name": "一般",
      "description": "他の既存のカテゴリに該当しないトピックをここに作成してください。"
    }
  ]
}
```
2025-07-15 22:03:33 +08:00
..
schemas DEV: Supplement updateCategory API doc to include localizations (#33601) 2025-07-15 22:03:33 +08:00
shared DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
backups_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
badges_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
categories_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
groups_spec.rb FEATURE: Add the group show endpoint to search groups by id instead of only the slug name (#32442) 2025-05-13 14:22:06 -05:00
invites_spec.rb FIX: Create invite api docs (#21460) 2023-05-09 13:20:46 -06:00
multiple_invites_spec.rb FEATURE: change /invites.json api endpoint to optionally accept array of emails (#24853) 2023-12-28 10:16:04 -05:00
notifications_spec.rb DEV: Block accidental serialization of entire AR models (#27668) 2024-07-01 17:08:48 -03:00
posts_spec.rb FEATURE: Add translations to posts (#32564) 2025-05-08 10:40:36 -07:00
private_messages_spec.rb FIX: update id types in API docs to integers (#27412) 2024-06-26 20:44:39 -06:00
rate_limits_spec.rb DEV: API to register custom request rate limiting conditions (#30239) 2024-12-23 09:57:18 +08:00
search_spec.rb DEV: Document group param for search endpoint (#19806) 2023-01-09 14:46:07 -07:00
site_spec.rb DEV: Document basic-info endpoint (#26471) 2024-04-02 14:53:19 -06:00
tags_spec.rb FIX: update id types in API docs to integers (#27412) 2024-06-26 20:44:39 -06:00
topics_spec.rb DEV: Add per_page as public param for TopicQuery (#30716) 2025-01-14 09:19:19 -06:00
uploads_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
user_badges_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
users_spec.rb DEV: Add /admin/users.json to the api docs (#32512) 2025-04-29 09:28:47 -06:00