Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

DEVDOCS-5483 [new]: Settings API, add channel_id query parameter to locale settings #1487

Merged
merged 2 commits into from
Oct 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion reference/settings.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ paths:
'/settings/store/locale':
parameters:
- $ref: '#/components/parameters/Accept'
- $ref: '#/components/parameters/ChannelIdParam'
get:
summary: Get Locale Settings
description: Returns global locale settings.
Expand Down Expand Up @@ -810,7 +811,10 @@ paths:
- Store Locale
put:
summary: Update Locale Settings
description: Updates global locale settings.
description: |-
Updates global locale settings.

Set a channel override by using the `channel_id` query parameter. To remove a channel override, set `null` for a field. The field then inherits the global value.
parameters:
- $ref: '#/components/parameters/ContentType'
requestBody:
Expand Down
Loading