-
Notifications
You must be signed in to change notification settings - Fork 0
timestreams.update_context XML RPC procedure
Timestreams is an API that provides functions to add and organise sensor data. This page describes the timestreams.update_context XML-RPC API procedure.
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.update_context</methodName> <params> <param><value><string>UserName</string></value></param> <param><value><string>Password</string></value></param> <param><value><string>ContextType</string></value></param> <param><value><string>ContextValue</string></value></param> <param><value><string>StartTime(optional)</string></value></param> <param><value><string>EndTime</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. |
<?xml version="1.0"?> <methodResponse> <params> <param> <value> <int>1</int> </value> </param> </params> </methodResponse>