-
Couldn't load subscription status.
- Fork 9
Description
What is missing?
Get/Search*$value operations: add parameter „language” with values “de” etc. to only display multi-language attributes in the language required by the application
Instead of
- Without query parameter language or with parameter language=”display-all-languages”:
{ "Label": [ { "de": "Das ist ein deutscher Bezeichner" }, { "en": "That's an English label" } ] }
- with query parameter language=“en“:
{ "Label": "That's an English label" } }
For getting all languages the language parameter shall have an additional reserved value, e.g. “display-all-languages”, this is the default for backward compatibility reasons
Note: There might be a label “ALL” besides “de” and “en” that means: this text shall be used independent of which language is required because it is the same in all languages. Example:
{ "Label": [ { "de": "ok" }, { "en": "ok" } ] }
-
same as
{ "Label": [ { "ALL": "ok" }] } -
Case query parameter language=“en“:
{ "Label": "ok" } }
- [ x] I have signed the required Developer Certificate of Origin (DCO) already.