Update the status of an annotation entry.
REQUIRED | KEY | TYPE | DESCRIPTION |
---|---|---|---|
Yes | featureGroupId | str | The ID of the feature group the annotation is on. |
Yes | featureName | str | The name of the feature the annotation is on. |
Yes | status | str | The new status of the annotation. Must be one of the following: 'TODO', 'IN_PROGRESS', 'DONE'. |
No | docId | str | The ID of the primary document the annotation is on. At least one of the doc_id or feature_group_row_identifier must be provided in order to identify the correct annotation. |
No | featureGroupRowIdentifier | str | The key value of the feature group row the annotation is on (cast to string). Usually the feature group's primary / identifier key value. At least one of the doc_id or feature_group_row_identifier must be provided in order to identify the correct annotation. |
No | saveMetadata | bool | If True, save the metadata for the annotation entry. |
KEY | TYPE | DESCRIPTION | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
success | Boolean | true if the call succeeded, false if there was an error | ||||||||||||||||||||||||||||||||||||||||||||||||
result | AnnotationEntry |
|
TYPE | WHEN |
---|---|
DataNotFoundError |
|
DataNotFoundError |
|
DataNotFoundError |
|
InvalidEnumParameterError | An invalid value is passed for |
InvalidParameterError | If the status is invalid. |