Components
Publish a text item to the library
Publishes an existing project text item to the component library, turning it into a reusable library component.
The text item's current text, variables, variants, and other fields are carried over to the new component, and the text item becomes its first linked instance. The new component keeps the text item's existing developer ID. The text item must not already be a library instance.
post/components/publish
Request
- Base URL: https://api.dittowords.com/v2
- URL: https://api.dittowords.com/v2/components/publish
- Auth: API key in header Authorization
Request body
Example request
{
"textItemId": "text-item-id-1",
"name": "New Component",
"folderId": "my-folder-id"
}Response
Returns the developer ID of the newly created library component
Example response
{
"developerId": "text-item-id-1"
}Changes
No recorded changes to this operation across all 1 revision of this API.