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
·
2 revisions
Timestreams is an API that provides functions to add and organise sensor data. This page describes the timestreams.add_context XML-RPC API procedure.
Description
A POST request containing this procedure name will add a context record. The following is the procedure call signature required to add context:
<methodCall> <methodName>timestreams.add_context</methodName> <params> <param><value><string>User Name</string></value></param> <param><value><string>Password</string></value></param> <param><value><string>Context Type</string></value></param> <param><value><string>Context Value</string></value></param> <param><value><string>Start Timestamp</string></value></param> <param><value><string>End Timestamp</string></value></param> </params> </methodCall>
Parameter
Description
User Name
Name of blog user
Password
Password of blog user
Context Type
The key (such as "place")
Context Value
The context value (such as "Nottingham")
Start Timestamp
Time the context began to take hold ('1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC).
End Timestamp
Time the context ceases to hold (optional) ('1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC).