post http://localhost:9100/api/versioned/v1/projects//categorizations/labels:updateRecords
Records are streamed in as new-line separated categorization dataset actions (see Modify Records in a Dataset) that are in the format:
{
"action": "CREATE|DELETE",
"recordId": "...",
"record": {
"verified": {
"category": {
"categoryId": "resourceId of category, e.g.unify://my-instance/v1/projects/1/taxonomy/categories/3",
"path": [ /* string array representing the path of the category */ ],
"reason": "optional description of why this categorization was verified"
}
}
}
}
Note that each JSON object must be on a single line. Showing a pretty-printed version here for the purposes of readability.