Update the default repository's preferred locale
patch
/repositories/default/defaultPreferredLocale
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
objectPreferred locale update. Send a locale record ID to select a preferred locale. The service also accepts an empty object, which clears the readable preferred-locale value.
Show Source
-
recordId: string
Locale identifier, for example en_US.
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : RepositoryBO
Type:
Show Source
object-
availableLocales(required): array
availableLocales
-
dateAdded: string
(date-time)
Title:
Date AddedRead Only:trueThe date and time when this repository was created.Example:2022-03-10 -
dateModified: string
(date-time)
Title:
Date ModifiedRead Only:trueThe date and time this repository was last modified.Example:2022-03-10 -
defaultLocale(required): object
LocaleKeyBO
Documentation for BO mode: LocaleKeyBO:
Localized Name of the Locale is currently NOT provided (i.e. The word Japanese is always in Japanese and never localized in say Arabic.)
-
defaultPreferredLocale: object
LocaleKeyBO
Documentation for BO mode: LocaleKeyBO:
Localized Name of the Locale is currently NOT provided (i.e. The word Japanese is always in Japanese and never localized in say Arabic.)
-
links: array
links
-
name(required): string
Minimum Length:
1Maximum Length:255 -
objectId: string
-
recordId: string
-
referenceKey(required): string
Minimum Length:
1Maximum Length:255
Nested Schema : availableLocales
Type:
Show Source
array-
Array of:
object LocaleKeyBO
Documentation for BO mode: LocaleKeyBO:
Localized Name of the Locale is currently NOT provided (i.e. The word Japanese is always in Japanese and never localized in say Arabic.)
Nested Schema : LocaleKeyBO
Type:
objectDocumentation for BO mode: LocaleKeyBO:
Show Source
Localized Name of the Locale is currently NOT provided (i.e. The word Japanese is always in Japanese and never localized in say Arabic.)
-
links: array
Links
Title:
LinksRead Only:trueREST API canonical and/or collection links for this Singular Resource -
localeDesc: string
Title:
Locale DescRead Only:trueMaximum Length:100The description about the language and country that the Locale object represents. -
recordId: string
Title:
Record IdThe unique identifier of the Locale object.
Nested Schema : Links
Type:
arrayTitle:
LinksRead Only:
trueREST API canonical and/or collection links for this Singular Resource
Show Source
400 Response
Invalid locale update request.
Nested Schema : items
Type:
object500 Response
Repository locale update failed.
Nested Schema : items
Type:
object