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 21, 2012
·
3 revisions
Timestreams is an API that provides functions to add and organise sensor data. This page describes the timestreams.update_context XML-RPC API procedure.
Description
A POST request containing this procedure name will update context records matching the given context_type, value and start_time. This is expected to be used to add an end time to such records.The following is the procedure call signature to update context records:
<methodCall> <methodName>timestreams.select_context_by_type_and_value</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>Value</string></value></param> <param><value><string>Start time</string></value></param> <param><value><string>End time</string></value></param> </params> </methodCall>
Parameter
Description
User Name
Name of blog user
Password
Password of blog user
Context type
A key (such as "Place").
Value
An identifier such as "Brazil".
Start time (optional)
The time that a context record started to hold from. If this value is omitted then all matching records that hold until the end time will be updated.
End time
The time that the context records should cease to hold from.