Add label update request to DataLake-REST-Service
@@ -105,4 +105,12 @@ export class DatalakeRestService {
return this.http.request(request)
}
+ saveLabelsInDatabase(index, startDate, endDate, label) {
+ const request = new HttpRequest('POST', this.dataLakeUrlV3 + '/data/' + index + '/labeling/' + startDate + '/' +
+ endDate + '/' + label, {}, {
+ reportProgress: true,
+ responseType: 'text'
+ });
+ return this.http.request(request);
+ }
}
