LiveStories IQ developers
Documentation

PUT /v1/dataset/:id

Overview

Update a dataset or its content.

This operation updates any writeable field on the dataset and/or updates the dataset content itself. The following fields can be updated: name, visibility, properties.

This operation needs to be signed for authentication.

Parameters

:id

The identifier for the dataset to update.

Example Value128a09e6-2bb0-4869-9179-2f6b31557802

Example Request

PUT /v1/dataset/a825bee6-0be7-48d8-8504-305f30354928 Content-Type: multipart/form-data; boundary=------------------------0713882d03f2c1fc ------------------------0713882d03f2c1fc Content-Disposition: form-data; name="collection" Content-Type: application/json { "name": "A test dataset", "properties": { "description": "A cool description" }, "visibility": "public" } ------------------------0713882d03f2c1fc Conten-Disposition: form-data; name="dataset", filename="data.csv" Content-Type: text/csv csv,contents,go,here ------------------------0713882d03f2c1fc

Example Response

{ "id":"a825bee6-0be7-48d8-8504-305f30354928", "name":"A test dataset", "version":"92961327-d464-457b-9e03-6b8a314c9a96", "owner":"bar", "team":"foo", "visibility":"private", "source":"/tmp/a825bee6-0be7-48d8-8504-305f30354928/data.csv.gz" }