Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UpdateValueParams

Parameters for the updateValue operation.

Hierarchy

  • UpdateValueParams

Index

Properties

Optional append

append: boolean

Whether the new data is to be appended to the existing data in the entity value. If append=false, elements included in the new data completely replace the corresponding existing elements, including all subelements. For example, if the new data for the entity value includes synonyms and append=false, all existing synonyms for the entity value are discarded and replaced with the new synonyms.

If append=true, existing elements are preserved, and the new elements are added. If any elements in the new data collide with existing elements, the update request fails.

entity

entity: string

The name of the entity.

Optional headers

headers: OutgoingHttpHeaders

Optional includeAudit

includeAudit: boolean

Whether to include the audit properties (created and updated timestamps) in the response.

Optional newMetadata

newMetadata: JsonObject

Any metadata related to the entity value.

Optional newPatterns

newPatterns: string[]

An array of patterns for the entity value. A value can specify either synonyms or patterns (depending on the value type), but not both. A pattern is a regular expression; for more information about how to specify a pattern, see the documentation.

Optional newSynonyms

newSynonyms: string[]

An array of synonyms for the entity value. A value can specify either synonyms or patterns (depending on the value type), but not both. A synonym must conform to the following resrictions:

  • It cannot contain carriage return, newline, or tab characters.
  • It cannot consist of only whitespace characters.

Optional newType

newType: Type | string

Specifies the type of entity value.

Optional newValue

newValue: string

The text of the entity value. This string must conform to the following restrictions:

  • It cannot contain carriage return, newline, or tab characters.
  • It cannot consist of only whitespace characters.

value

value: string

The text of the entity value.

workspaceId

workspaceId: string

Unique identifier of the workspace.

Generated using TypeDoc