Edit labels for multiple samples
POST {{baseUrl}}/api/:projectId/raw-data/batch/edit-labels?category=<string>&labels=<string>&filename=<string>&maxLength=<integer>&minLength=<integer>&minFrequency=<number>&maxFrequency=<number>&signatureValidity=<string>&includeDisabled=<string>&ids=<string>
Sets the label (also known as class) of multiple samples.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
category | string | (Required) Which of the three acquisition categories to retrieve data from | |
labels | string | Only include samples with a label within the given list of labels, given as a JSON string | |
filename | string | Only include samples whose filename includes the given filename | |
maxLength | string | Only include samples shorter than the given length, in milliseconds | |
minLength | string | Only include samples longer than the given length, in milliseconds | |
minFrequency | string | Only include samples with higher frequency than given frequency, in hertz | |
maxFrequency | string | Only include samples with lower frequency than given frequency, in hertz | |
signatureValidity | string | Include samples with either valid or invalid signatures | |
includeDisabled | string | Include only enabled or disabled samples (or both) | |
ids | string | Only include samples with an ID within the given list of IDs, given as a JSON string |
Request Body
{"label"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"success":"\u003cboolean\u003e","error":"\u003cstring\u003e"}