Deliverable for D3.2

DataApi.md 1.8KB

\DataApi

All URIs are relative to https://localhost

Method HTTP request Description
Append Put /data/ append data to a bucket, will create the bucket if it does not exist.
GetAll Get /data/ returns all of the data stored in a logical 'bucket' in the last 24 hours.

Append

Append($body)

append data to a bucket, will create the bucket if it does not exist.

append data to a bucket, will create the bucket if it does not exist.

Parameters

Name Type Description Notes
body ApiData

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAll

[]ApiDataResponse GetAll($bucketUid)

returns all of the data stored in a logical 'bucket' in the last 24 hours.

returns all of the data stored in a logical 'bucket' in the last 24 hours.

Parameters

Name Type Description Notes
bucketUid string name of the 'bucket' of data [optional]

Return type

[]ApiDataResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]