Dataloader Web API
Dataloader WebAPI is a WebAPI for saving various data (called event data for convenience) such as weather sensors and environmental sensors that have spatiotemporal information.
By saving event data, it can be used for various learning / prediction APIs.
Procedures for Execution
Dataloader WebAPI uses JSON-RPC.
To execute the Dataloader WebAPI using JSON-RPC, POST the request data (string) written in JSON format to the URL of the endpoint of the web service provided by EvWH.
API Key
An API key and private key are required to use this API. Please apply to the system administrator to obtain it.
It is necessary to send each with the following key name to the HTTP header part when sending an HTTP request.
- API Key: APIKey
- Secret key: Secret
API List
-
loaderwebapi.register_loader Table initialization
Define the data_name used by the Dataloader to enable insertion of event data. (Initialize the event data input table)
-
loaderwebapi.init_record Record initialization
Return an empty json for inserting event data. Used to get the event data structure of interest.
-
loaderwebapi.add_record save record
Based on the json acquired in loaderwebapi.init_record, to save the record data.
Limitations
The amount of data that can be sent with one request is up to 100MB. Adjust so that the request body when sending is less than 100MB.