Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page Properties
hiddentrue
idDONE

Product Version
Report Note
Assignee

Resources & Remarks

Modification History

NameDateProduct VersionAction
Antje18 MAY 20212021 SummerPage created.
Agnieszka07 OCT 20212021 WinterrLANG



As of Version

product version 2020 Autumn | component version 

Request MethodGET
Response FormatJSON
Description


Excerpt

Retrieves localized text resources for the Accept-Language specified in the request header (formatted in ISO norm, e.g., de, en, es, fr, ...) merged from tenant-specific, app-specific and global resources.


Such icon endpoints are available also in the admin-controller and resource-controller. They are intended to serve for the configuration of object type icons. Use the technical name of the corresponding object type as value for pathThe response body is a JSON structure where each technical term as a key is mapped to a string value that will occur as a localized term in the graphical user interface.

Each technical term consists of a field identification (e.g., twosteptest_proc:test_table) followed by either _label or _description in order to be displayed as field label or field description in the graphical user interface.

If a technical term is mapped to null, localization has not yet been applied. The field identification will be displayed as field label in the graphical user interface. A description will not be provided.

Response HTTP status codes:

HTTP Status CodeMeaning
200 OK
401 Unauthorized


Request Example

https://<host>/api-web/api/resources/text

no No request body

Response Example

200 OK

Code Block
{
  "system:baseTypeId_label": "Basistype ID",
  "system:objectTypeId_label": "Object-type ID",
  "system:secondaryObjectTypeIds_label": "Characteristics",
  "system:parentObjectTypeId_label": "Folder type",
  "system:objectId_label": "Object ID",
  "system:parentId_label": "Folder ID",
  "system:createdBy_label": "Creator",
  "system:creationDate_label": "Created on",
  "system:lastModifiedBy_label": "Editor",
  "system:lastModificationDate_label": "Edited on",
  "system:versionNumber_label": "Version",
  "system:tenant_label": "Tenant",
  "system:traceId_label": "Trace ID",
  "system:tags_label": "Tags",
  "system:contentStreamLength_label": "File size",
  "system:contentStreamMimeType_label": "File type",
  "system:contentStreamFileName_label": "File name",
  "description_label": "Description",
  "label_label": "Label",
  "language_label": "Language",
  "language_description": "ISO: en, de, "additionalProp1": "email...",
  "twosteptest_proc:datetime_label": "Date & time",
  "twosteptest_proc:column_user_label": "User",
  "twosteptest_proc:column_boolean_label": "Editable",
  "twosteptest_proc:test_table_label": "Notices",
  "twosteptest_proc:test_table_description": "List of notices",
  "userGroupAssignment:user_label": "User",
  "userGroupAssignment:user_description": "Assign the user who should ...",
  "additionalProp2userGroupAssignment:comment_label": "phoneComment",
  "additionalProp3userGroupAssignment:comment_description": "mobileTell the user what to do .."
}