updateComponentCustomTranslationsForLocale
put
/ccadmin/v1/componentInstances/{id}/locale/{locale}
Update Component Instance custom translations by ID for a specific Locale.
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
ID for Component Instance.
-
locale: string
Desired locale for Component Instance.
Request body for updateComponentCustomTranslationsForLocale endpoint.
Root Schema : putComponentInstanceByLocaleWithId_request
Type:
Show Source
object
-
custom(optional):
object custom
This refers to custom translations for text snippets.
Nested Schema : custom
Type:
object
This refers to custom translations for text snippets.
Show Source
-
labelExpand(optional):
string
Default Value:
Click here to expand image!
Name of text snippet you want to change - in this case labelExpand.
Response
Supported Media Types
- application/json
200 Response
Response received after submitting a new text snippet translation for a particular locale and widget instance.
Nested Schema : items
Type:
Show Source
object
-
href(optional):
string
Default Value:
http://localhost:9080/ccadmin/v1/componentInstances/400002/locale/en
Specifies the location (URL) of the external resource. -
rel(optional):
string
Default Value:
self
The relationship between the current document and the linked document/resource.
404 Response
The error response returned when ID value is not recognised.
Root Schema : putComponentInstanceByLocaleWithId_doesNotExistResponse
Type:
Show Source
object
-
errorCode(optional):
string
Default Value:
33001
The internal error code -
message(optional):
string
Default Value:
Specified widget 'exampleId' does not exist.
The HTTP error message -
status(optional):
string
Default Value:
404
The HTTP status code