API description

La documentation API est disponible en Anglais.

Add data to chart

POST / files / {name} / data

Adds data to an existing chart. Or creates a new file if the file {name} doesn't exists. The media types json or text can be used.

URL

https://www.intchart.com/api/{id}/files/{name}/data

Headers

Authorization Mandatory API key
Content-Type Optional Media types : text/html or application/json
Accept Optional Media types : text/html or application/json

Description

A new file will be created when:

- the file {name} doesn't exists - data field names are different from the existent file - the number of data fields are different from the existent file. A description of the parameters can be found here : upload (1) or upload (2) .

Data will be added to existent file:

In all other cases, the data will be added to the existent file. A description of the parameters can be found here : add .

Example Request

https://www.intchart.com/api/ABCDEFGH/files/File1/data?sep=;&format=unix