Update embedded RTE objects
PUT https://{{base_url}}/v3/content_types/{{content_type_uid}}/entries/{{entry_uid}}
The Update embedded RTE objects request lets you update the embedded entries or assets placed inside the Rich Text Editor field of an entry.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.Â
Read more about it in Authentication.
For more information, refer to the Update embedded RTE objects API Reference document
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
locale_code | string | ||
Enter the code of the language of which you want to update an entry. | |||
include_branch | boolean | Set this to 'true' to include the '_branch' top-level key in the response. This key states the unique ID of the branch where the concerned Contentstack module resides. |
Request Body
{"entry"=>{"title"=>"example", "url"=>"/example", "rich_text_editor"=>"<p>Updated embedded asset to downloadable image:</p><img class=\"embedded-asset\" data-sys-asset-uid=\"blt120a5a04d91c9466\" type=\"asset\" sys-style-type=\"download\"></img><p>Updated embedded entry inline with text:</p><div class=\"embedded-entry\" data-sys-entry-uid=\"bltb6ea3a0ab9699748\" data-sys-entry-locale=\"en-us\" data-sys-content-type-uid=\"sample_content_type\" sys-style-type=\"inline\" type=\"entry\"></div>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | Enter the API key of your stack. | |
authtoken | string | Enter your authtoken. | |
authorization | string | For this call we recommend you to use management token. | |
Content-Type | string | Enter "application/json" to pass a request body. | |
branch | string | Enter your branch unique ID. |