Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Body

application/json
textItemIds
string[]
required

Developer IDs of the project text items to bring up to date with their library component. Each must be a library instance.

Required array length: 1 - 100 elements
projectId
string

Developer ID of the project to scope the upgrade to. If provided, each given Developer ID must match a text item in this project, and only that text item is upgraded. Required when a Developer ID is shared by text items spawned from the same base text item in multiple projects.

discardLocalEdits
boolean

Whether to discard the local edits held by any of the text items (those in the modified or conflict state), resetting them to match their component. When omitted or false, the request fails if any text item holds local edits.

Response

Returns success status of the upgrade operation, the Developer IDs of the text items that were upgraded, and the Developer IDs of any that were already up to date

success
boolean
required

Indicates whether the upgrade was successful

upgradedTextItemIds
string[]
required

Developer IDs of the text items brought up to date with their component, in request order. Each is now current.

unchangedTextItemIds
string[]
required

Developer IDs of the text items that were already current, in request order