Skip to content

timestreams.heartbeat

pszjmb1 edited this page Aug 7, 2012 · 1 revision

Timestreams is an API that provides functions to add and organise sensor data. This page describes the timestreams.heartbeat XML-RPC API procedure.

Description

This updates the metadata record to store the IP address for the given device. A POST request containing this procedure name will have returned the number of metadata records whose heartbeat values are update (usually 1). The following is the procedure call signature required to retrieve metadata: <methodCall> <methodName>timestreams.heartbeat</methodName> <params> <param><value><string>User Name</string></value></param> <param><value><string>Password</string></value></param> <param><value><string>ipaddress</string></value></param> </params> </methodCall>

Parameter Description
User Name Name of blog user
Password Password of blog user
ipaddress IP address for the given device

Example Results

<methodResponse> <params> <param> <value> <int>1</int> </value> </param> </params> </methodResponse>

Clone this wiki locally