You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pszjmb1 edited this page Jun 22, 2012
·
5 revisions
Timestreams is an API that provides functions to add and organise sensor data. This page describes the timestreams.add_measurement XML-RPC API procedure.
Description
A POST request containing this procedure name will add a single measurement to a measurement container for a given blog's device. This procedure returns the value 1 indicating that a record was added. The following is the procedure call signature required to add a measurement:
<methodCall> <methodName>timestreams.add_measurement</methodName> <params> <param><value><string>User Name</string></value></param> <param><value><string>Password</string></value></param> <param><value><string>Measurement Container Name</string></value></param> <param><value><string>Measurement Value</string></value></param> <param><value><string>Timestamp</string></value></param> </params> </methodCall>
Parameter
Description
User Name
Name of blog user
Password
Password of blog user
Measurement Container Name
Value returned from timestreams.create_measurements
Measurement Value
The reading
Timestamp
Time the reading was taken in ('1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC). If this parameter is excluded then the current time from the server will be stored.