Move multiple samples

POST {{baseUrl}}/api/:projectId/raw-data/batch/moveSamples?category=<string>&labels=<string>&filename=<string>&maxLength=<integer>&minLength=<integer>&minFrequency=<number>&maxFrequency=<number>&signatureValidity=<string>&includeDisabled=<string>&ids=<string>

Move multiple samples to another category (e.g. from test to training).

Request Params

KeyDatatypeRequiredDescription
categorystring(Required) Which of the three acquisition categories to retrieve data from
labelsstringOnly include samples with a label within the given list of labels, given as a JSON string
filenamestringOnly include samples whose filename includes the given filename
maxLengthstringOnly include samples shorter than the given length, in milliseconds
minLengthstringOnly include samples longer than the given length, in milliseconds
minFrequencystringOnly include samples with higher frequency than given frequency, in hertz
maxFrequencystringOnly include samples with lower frequency than given frequency, in hertz
signatureValiditystringInclude samples with either valid or invalid signatures
includeDisabledstringInclude only enabled or disabled samples (or both)
idsstringOnly include samples with an ID within the given list of IDs, given as a JSON string

Request Body

{"newCategory"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;error&quot;:&quot;\u003cstring\u003e&quot;}