Sen.se API

Introduction

The Sen.se API serves three audiences:

  • Sen.se users who want to access the data produced by their devices and build programs using those data and devices.
  • Developers using the Sen.se platform to create new applications for Sen.se users. These application (referred to as ‘native’ apps) will be installable by users in the same fashion as Sen.se applications, and will be displayed on the users’ Senseboards.
  • Developers wishing to use the data provided by the Sen.se platform to enrich an external application.

The Sen.se API is REST-oriented and returns data in JSON format. It is designed to have predictable endpoints and to be as explorable as possible.

Endpoint

The API base URL is: https://apis.sen.se/v2

Libraries

Note

Status, version 2.0

For the moment, the API is open to Sen.se users only. All the features described below are available. We are testing a new set of features that will address the needs of application developers on the Sen.se platform, they will be published in the next API version.

Concepts

Resource

A Resource is a client application that is interacting with the Sen.se platform.

Node

Nodes are instances of a Resource for a particular user. Nodes can subscribe to and publish into Feeds. Nodes are notified when events occur on the feeds they are subscribed to. They have the right to publish events back to Sen.se platform (to interact with other devices for example).

In other words, any of the user’s devices or applications is a Node. An instance of the Walk Resource for your account is a node that subscribes to the ‘motion’ feed of one of your cookies and can publish in the ‘notification’ feed of your account.

Feed

A Feed is a ‘channel’ in which events of the same kind flow.

For example, a Motion Cookie has a ‘motion’ feed and a ‘temperature’ feed among other feeds.

Addressing a feed: we try to make it as easy as possible to build the address of a feed. You can address a feed using the following:

  • feed URLs: /feeds/(uid)
  • nested feed URLs: /node/(uid)/feeds/(type)
  • URLs relative to a node being created or updated (feed/(type) in POST and PUT requests on /nodes)

The following examples are valid ways to address a feed:

/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/
/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/feeds/temperature
feeds/temperature

Subscription

Subscriptions are a mechanism that will notify your system when new events are published in the feeds that you subscribed to. In other words, the Sen.se platform defines a Subscription Resource ; users can create Nodes which are instances of that particular resource and these nodes will be notified each time a new event is published in their subscribed feeds (using an HTTP POST request to the node callback URL - called a “gateway” url).

Persons

Members of your household are represented as Persons on your Sen.se account. An account always has at least one Person, the owner of the account. Some applications like Sleep or Presence are linked to Persons on your account. Under the hood Persons are Nodes on the Sen.se platform so they can publish into Feeds ; hence applications like Sleep or Presence publish status updates in their respective persons’ Feed.

Quick start

As you will see below we try to keep the HTTP API simple and standard, but there is also a Python client (sense-python-client) to help you get started.

To install it:

$ pip install sense-python-client

For users

This is a collection of examples showing how to use the client as a user:

import sense

# Authentication
sense.api_key = '__your_api_key__'
# You can get your key using the API.
sense.api_key = sense.User.api_key(username='__your_username__', password='__your_password__')

# Get the first cookie of your account
user = sense.User.retrieve(expand=['devices'])
cookies = [d for d in user.devices if d.resource.slug == 'cookie']
cookie = cookies[0]

# Create a subscription in order to receive new temperature events.
# You will be notified of a new event on a URL of your choice,
sub = sense.Subscription.create(
    label='%s motion feed subscription' % cookie.label,
    gatewayUrl='https://server2000.eu/events/',
    subscribes= ['/nodes/%s/feeds/temperature/' % cookie.uid]
)
assert sub.uid is not None

# ... edit it,
sub.label = 'new label!'
sub.save()

# ... delete it.
sub.delete()

# Once you know UIDs you can instantiate objects without querying the API.
feed = sense.Node(cookie.uid).feeds(type='motion')

# Get the last 5 events of the motion feed
ev = feed.events.list(limit=5)
assert len(ev.objects) == 5

# Filtering
cookies = sense.Node.list(resource__slug='cookie')
assert cookies.objects[0].resource.slug == 'cookie'

# Collections
nodes = sense.Node.list() # the first page of results
more_nodes = nodes.next() # get the second page of results
# Iterator navigation
for n in sense.Node.all():
    assert hasattr(n, 'uid')

For external application developers

  1. Register your app and obtain an authorization token (see Authentication for external applications).
  2. When you register your application, a corresponding Node object will be automatically created. You can get it it with a GET request on https://apis.sen.se/v2/node/.
  3. Whenever you need to be notified of new events in a feed (on the event url you provided when registering your application), update your node to add the specified feed to its subscribes list (see Nodes).
  4. You’re done! You can start making authenticated calls to the API to retrieve and update user data.

Authentication

For users

You will use an API key to authenticate all your requests. It should be included in the Authorization HTTP header. The key should be prefixed by the string literal “Token”, with whitespace separating the two strings. For example:

Authorization: Token __your_API_key__

Example request (CURL):

curl https://apis.sen.se/v2/user/ -H "Authorization: Token __your_API_key__"

You can retrieve a token key using the API, with Sen.se username and password:

POST /user/api_key/
Form Parameters:
 
  • username – your Sen.se account username
  • password – your Sen.se account password

Example (Python client):

>>> import sense
>>> api_key = sense.User.api_key(username='demoone', password='__your_Sen.se_account_password__')

Request (CURL):

curl https://apis.sen.se/v2/user/api_key/ \
     -d "username=demoone" \
     -d "password=__your_Sen.se_account_password__"

Response (JSON):

{ "token": "__your_API_key__" }

For applications developers

See Authentication for applications developers.

Errors

We do our best to respond to your requests with the appropriate HTTP response codes. When your request has been performed successfully you should get a 2xx code. If your request was badly formatted you will get a 4xx response code. If you get a 5xx response code, something went wrong on our end and your request has not been processed. Please let us know at api@sen.se

Throttling

You can perform up to 100 requests per minutes from the same IP address for the same account. If you exceed this limit, you’ll get a 429 Too Many Requests response for subsequent requests. Check the Retry-After header to see how many seconds to wait before retrying the request. Please note that this limit could be adjusted in the future.

The X-Forwarded-For and Remote-Addr HTTP headers are used to uniquely identify client IP addresses for throttling. If the X-Forwarded-For header is present then it will be used, otherwise the value of the Remote-Addr header will be used.

Endpoints

User

GET /user/
Synopsis:All info regarding a User registered in the Sen.se platform and the Node he/she owns.

Note

Users have permission to see all their nodes, application developers can only see a User devices and persons.

Query Parameters:
 
  • expand – The User object contains references to other objects in its properties. These objects can be expanded into their complete representation. This is available for devices, applications, persons and subscriptions.

Example (Python client):

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> sense.User.retrieve(expand=['devices'])

Example request (CURL):

curl https://apis.sen.se/v2/user/?expand[]=persons&expand[]=devices \
     -u demoone:password-placeholder

Example response:

{
    "object": "user", 
    "uid": "TKVHhI0AIi9MsMxJlOEt7NM1MPHt0hUQ", 
    "createdAt": "2013-11-18T02:29:23", 
    "updatedAt": "2013-11-18T02:29:23", 
    "timezone": "Europe/Paris", 
    "language": "fr", 
    "country": "FR", 
    "is_developer": false, 
    "username": "demoone", 
    "email": "pascalyne@sen.se", 
    "firstName": "George", 
    "lastName": "Wilson", 
    "devices": [
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/K7Kcu7191qjjWdC1RF0f2clw0KsEp6M0/", 
            "uid": "K7Kcu7191qjjWdC1RF0f2clw0KsEp6M0", 
            "createdAt": "2014-08-09T14:19:18", 
            "updatedAt": "2014-11-23T15:29:26", 
            "label": "Mother of all things", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/98FWuk6cKMTl5dSpR36aAsGwW3QjCJh8/", 
                    "uid": "98FWuk6cKMTl5dSpR36aAsGwW3QjCJh8", 
                    "label": "Touch", 
                    "type": "touch", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/ksE0XryQqexySgJ1LhDqLCuv3FjyvDhj/", 
                    "uid": "ksE0XryQqexySgJ1LhDqLCuv3FjyvDhj", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "mother"
            }, 
            "geometry": {
                "type": "Point", 
                "coordinates": [
                    48.8607834471752, 
                    2.36826265335083
                ]
            }, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/", 
            "uid": "Nf6QUJBWxsB9arukraSR9BfaRpx32QNS", 
            "createdAt": "2014-08-09T14:23:53", 
            "updatedAt": "2015-02-23T16:14:23", 
            "label": "bed", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/TeT75dqqCXtyp3JyYU2zWthzuG6nRZql/", 
                    "uid": "TeT75dqqCXtyp3JyYU2zWthzuG6nRZql", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/XeLcIbVFB525RqHD7wAFqZuxxzDFICzu/", 
                    "uid": "XeLcIbVFB525RqHD7wAFqZuxxzDFICzu", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/xSXdRJoneu8TWQKRnYOi6VZe8nv6loG9/", 
                    "uid": "xSXdRJoneu8TWQKRnYOi6VZe8nv6loG9", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/7iEALPoZMPTvqCKVBKknqgkCcyrlhOt6/", 
                    "uid": "7iEALPoZMPTvqCKVBKknqgkCcyrlhOt6", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/", 
                    "uid": "e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/NElTqLks5VHjsX8QVrBJ1hVRhMGjOpXI/", 
                    "uid": "NElTqLks5VHjsX8QVrBJ1hVRhMGjOpXI", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/UjizDqdFQc0r7lcn061ZJb5A5If9UAki/", 
            "uid": "UjizDqdFQc0r7lcn061ZJb5A5If9UAki", 
            "createdAt": "2014-08-09T14:24:38", 
            "updatedAt": "2015-02-28T10:28:29", 
            "label": "Martha", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/XswOV0Ow2T7pfwluS9UPq90bYJzKvEBG/", 
                    "uid": "XswOV0Ow2T7pfwluS9UPq90bYJzKvEBG", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/HN4c06PpgAg90b8Tyu45oOarEjUVW4wl/", 
                    "uid": "HN4c06PpgAg90b8Tyu45oOarEjUVW4wl", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/Gc2qiH56MG1GNwlSVFRu8K1kMeMcxFk2/", 
                    "uid": "Gc2qiH56MG1GNwlSVFRu8K1kMeMcxFk2", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/He6il1hdQlfV0wuBF2iNbAgtwVljL8x5/", 
                    "uid": "He6il1hdQlfV0wuBF2iNbAgtwVljL8x5", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/E5ooQfUZ1C91BjeDqSDQWZ5idg1MYmVJ/", 
                    "uid": "E5ooQfUZ1C91BjeDqSDQWZ5idg1MYmVJ", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/6RNXCqWcCrEC0BBADbUqIMTeTuLbT0Ru/", 
                    "uid": "6RNXCqWcCrEC0BBADbUqIMTeTuLbT0Ru", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/T4tNHSQ3qEUCVl6uyH4uO55ebDZdpZGY/", 
            "uid": "T4tNHSQ3qEUCVl6uyH4uO55ebDZdpZGY", 
            "createdAt": "2014-08-09T14:27:43", 
            "updatedAt": "2015-02-10T15:14:21", 
            "label": "fridge", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/qAvSUQRvTHxDLqI7VWcFa7Mmxnrj7m7T/", 
                    "uid": "qAvSUQRvTHxDLqI7VWcFa7Mmxnrj7m7T", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/tIWx5aFp0vWcaPHYWptDEanlH1a7lfGT/", 
                    "uid": "tIWx5aFp0vWcaPHYWptDEanlH1a7lfGT", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/PiOIzB8gXWiO4mEik5ZFYJ5G6LHL9fH6/", 
                    "uid": "PiOIzB8gXWiO4mEik5ZFYJ5G6LHL9fH6", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/qYHgX4jEGU7S7S4bwpW4ozTgwyoPtVUK/", 
                    "uid": "qYHgX4jEGU7S7S4bwpW4ozTgwyoPtVUK", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/oTNuinxFK1L8o3nJ7ogn9gGhcEIcynRN/", 
                    "uid": "oTNuinxFK1L8o3nJ7ogn9gGhcEIcynRN", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/1gIQDGrKGa9Z3nfhDDrp1hd459S8NN8P/", 
                    "uid": "1gIQDGrKGa9Z3nfhDDrp1hd459S8NN8P", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/G8Ek6chqHKShUcEEdc0x3uznhX9uPaul/", 
            "uid": "G8Ek6chqHKShUcEEdc0x3uznhX9uPaul", 
            "createdAt": "2014-08-09T14:29:59", 
            "updatedAt": "2015-02-28T10:30:56", 
            "label": "right door", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/u2SwK4S4YobyHMsTVNUgQuuef3orS49w/", 
                    "uid": "u2SwK4S4YobyHMsTVNUgQuuef3orS49w", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/8lHV86BkghLq9C3ZyH3WDXjzJj3gdUxC/", 
                    "uid": "8lHV86BkghLq9C3ZyH3WDXjzJj3gdUxC", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/eLUbcUPWCFsgO6bA7xq8c4siYxWdxUo2/", 
                    "uid": "eLUbcUPWCFsgO6bA7xq8c4siYxWdxUo2", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/l16h4d4jKK7xKsguxuAUn66MzyejFvto/", 
                    "uid": "l16h4d4jKK7xKsguxuAUn66MzyejFvto", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/tjNelWlCTVb51V7vEg8LgOjCez8W2KKB/", 
                    "uid": "tjNelWlCTVb51V7vEg8LgOjCez8W2KKB", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/8y3ERisS8WYgEgJuEVDlRajTceBtyYz7/", 
                    "uid": "8y3ERisS8WYgEgJuEVDlRajTceBtyYz7", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/DPOry8bDJ1KLKxNVvLvnVEoV4K932nUN/", 
            "uid": "DPOry8bDJ1KLKxNVvLvnVEoV4K932nUN", 
            "createdAt": "2014-08-09T14:30:50", 
            "updatedAt": "2015-02-26T12:15:24", 
            "label": "Nespresso AirBnB", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/9OfSCm0z1kTL5RA4sVnotEvUj5JcHHKr/", 
                    "uid": "9OfSCm0z1kTL5RA4sVnotEvUj5JcHHKr", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/i57Jh0dAiblBfe5mZnxdULzAkzsq0d7D/", 
                    "uid": "i57Jh0dAiblBfe5mZnxdULzAkzsq0d7D", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/GXwCGbMByYuyTIpDOdIPZQUXf5ZoNymn/", 
                    "uid": "GXwCGbMByYuyTIpDOdIPZQUXf5ZoNymn", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/S3skjMFywNXuN4qJRYmZEqhI9Mn7BRNb/", 
                    "uid": "S3skjMFywNXuN4qJRYmZEqhI9Mn7BRNb", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/cWxlG81Ra52eg7R03VzrI1MTXQzuOkw0/", 
                    "uid": "cWxlG81Ra52eg7R03VzrI1MTXQzuOkw0", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/agVqXQAFjWA5MN9M7QInqS6uQsFd60mN/", 
                    "uid": "agVqXQAFjWA5MN9M7QInqS6uQsFd60mN", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/K6X9kYkGvJvcuHv0VlBZewbFAchO99Xs/", 
            "uid": "K6X9kYkGvJvcuHv0VlBZewbFAchO99Xs", 
            "createdAt": "2014-08-09T14:32:55", 
            "updatedAt": "2015-12-10T06:57:48", 
            "label": "Unused", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/rQFb7hJ9CNJBzPz649FnOT5uZDrHeGtX/", 
                    "uid": "rQFb7hJ9CNJBzPz649FnOT5uZDrHeGtX", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/mXBibtJ45CHCLchQcUvNdGXLMzajSRDM/", 
                    "uid": "mXBibtJ45CHCLchQcUvNdGXLMzajSRDM", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/K8AmxcjAgt8oWXkWLKUqEWvSvDdclAiB/", 
                    "uid": "K8AmxcjAgt8oWXkWLKUqEWvSvDdclAiB", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/9n2jNlktcojkC0MFJEwCHemc5GLxXJoz/", 
                    "uid": "9n2jNlktcojkC0MFJEwCHemc5GLxXJoz", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/yU1At8ivSWNSY9bZBZUaSSJeudveEaPG/", 
                    "uid": "yU1At8ivSWNSY9bZBZUaSSJeudveEaPG", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/aRCxNsVcW6TT0k88jgewlIGdZYWFOpLw/", 
                    "uid": "aRCxNsVcW6TT0k88jgewlIGdZYWFOpLw", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/RFShlvNFBPTXGliD2tqsbDB9BIVTnoE2/", 
            "uid": "RFShlvNFBPTXGliD2tqsbDB9BIVTnoE2", 
            "createdAt": "2014-08-09T15:05:11", 
            "updatedAt": "2015-05-24T10:43:34", 
            "label": "George's pedometer", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/3gcWMtCoYLSWF5ImSIobvZ9t4I5ZFzut/", 
                    "uid": "3gcWMtCoYLSWF5ImSIobvZ9t4I5ZFzut", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/dNdeUsH9MHoPGIGhe4GytLhpBaKTPYyo/", 
                    "uid": "dNdeUsH9MHoPGIGhe4GytLhpBaKTPYyo", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/8Em8nFb0KNrCVX1Oy3qrDeCwUVj0cVLv/", 
                    "uid": "8Em8nFb0KNrCVX1Oy3qrDeCwUVj0cVLv", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/NM1eNp0GS2iJxcefvoatElFhC9A7tvgw/", 
                    "uid": "NM1eNp0GS2iJxcefvoatElFhC9A7tvgw", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/KIIWqWCaOqrBFdOenD1K8nHAs08yGMvO/", 
                    "uid": "KIIWqWCaOqrBFdOenD1K8nHAs08yGMvO", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/KEEWrvhOYs5lP5J2bID2LVo1dl02yrJ4/", 
                    "uid": "KEEWrvhOYs5lP5J2bID2LVo1dl02yrJ4", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/p6S3wF1C9S1o3zW15rjxKt7jWGBgu1vF/", 
            "uid": "p6S3wF1C9S1o3zW15rjxKt7jWGBgu1vF", 
            "createdAt": "2014-08-09T15:05:49", 
            "updatedAt": "2015-02-18T17:13:39", 
            "label": "George", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/kGJNG13DvU2iT3sKFfE8OvyvL1o92HZG/", 
                    "uid": "kGJNG13DvU2iT3sKFfE8OvyvL1o92HZG", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/fYCWmUj1pGEgZrXqLQ8uaBj4h9Btkx9O/", 
                    "uid": "fYCWmUj1pGEgZrXqLQ8uaBj4h9Btkx9O", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/WojsmPdH75JguMD79ppQHpv8aA80f5CN/", 
                    "uid": "WojsmPdH75JguMD79ppQHpv8aA80f5CN", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/cQOPPA32z24gu6vKr0r1oVG2Sq2f4r7E/", 
                    "uid": "cQOPPA32z24gu6vKr0r1oVG2Sq2f4r7E", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/lyADB4HviV1mHegUdVmLhOgliQIfOOuM/", 
                    "uid": "lyADB4HviV1mHegUdVmLhOgliQIfOOuM", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/Hzj7qxlSF9Kyou6QxHbQBYMJmLpwBI1t/", 
                    "uid": "Hzj7qxlSF9Kyou6QxHbQBYMJmLpwBI1t", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/R3sW9LSYjILdc75GCvVyhB582bEDN38a/", 
            "uid": "R3sW9LSYjILdc75GCvVyhB582bEDN38a", 
            "createdAt": "2014-08-09T15:11:51", 
            "updatedAt": "2015-02-27T20:32:50", 
            "label": "Left door", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/o6Jd6N4c260UFJzQJ5keq0CGPtEr8LW4/", 
                    "uid": "o6Jd6N4c260UFJzQJ5keq0CGPtEr8LW4", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/goncM1pUgnu9HgsmrdPfDWLXhB1XJFIq/", 
                    "uid": "goncM1pUgnu9HgsmrdPfDWLXhB1XJFIq", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/PcXOE3pnGvIA3CYhOHjX1zk3DFNyFiTc/", 
                    "uid": "PcXOE3pnGvIA3CYhOHjX1zk3DFNyFiTc", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/JUc59w3lRbZQCVyPatLYoqT10tSad6Wg/", 
                    "uid": "JUc59w3lRbZQCVyPatLYoqT10tSad6Wg", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/ejM7E1pwWzjzOlVCjhTtOpbQhlHtOiuk/", 
                    "uid": "ejM7E1pwWzjzOlVCjhTtOpbQhlHtOiuk", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/mPCjIbvCYG1gv9F0iNrb8Zk5JHb7bcgU/", 
                    "uid": "mPCjIbvCYG1gv9F0iNrb8Zk5JHb7bcgU", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/98E3XCoLetU0TnBnLf9gI3sdFKK25WBi/", 
            "uid": "98E3XCoLetU0TnBnLf9gI3sdFKK25WBi", 
            "createdAt": "2014-09-01T05:34:05", 
            "updatedAt": "2015-07-08T10:03:35", 
            "label": "Judith", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/RWdiVeRR7e5DO5lDw05bVupuLfR8zDBy/", 
                    "uid": "RWdiVeRR7e5DO5lDw05bVupuLfR8zDBy", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/i5QIml61IxKKuJofhKjMltQF6x3htwB8/", 
                    "uid": "i5QIml61IxKKuJofhKjMltQF6x3htwB8", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/0ZczrFavd7tGBXDb9lMe1EtVTYEk0LXh/", 
                    "uid": "0ZczrFavd7tGBXDb9lMe1EtVTYEk0LXh", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/EOO94O71367HQH9UB2VKOsgrM67KHBsZ/", 
                    "uid": "EOO94O71367HQH9UB2VKOsgrM67KHBsZ", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/v2d4J7Gf8OakH5JYEhYL8pQhy2x0EOgl/", 
                    "uid": "v2d4J7Gf8OakH5JYEhYL8pQhy2x0EOgl", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/sVy7XhYvm9UnN7WyqV1V9mocUC4DE2jY/", 
                    "uid": "sVy7XhYvm9UnN7WyqV1V9mocUC4DE2jY", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/eCdK3hoYExBWkKigiyqJEdBFkWAYh8Kd/", 
            "uid": "eCdK3hoYExBWkKigiyqJEdBFkWAYh8Kd", 
            "createdAt": "2014-09-01T05:34:53", 
            "updatedAt": "2015-05-24T10:51:23", 
            "label": "Pills Olmetec", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/5iLsv1wl0njK7rXekPNmoUum7GmBU2Ze/", 
                    "uid": "5iLsv1wl0njK7rXekPNmoUum7GmBU2Ze", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/gVSozgZPEp1broGE7mNP7GzxYe5lgpCa/", 
                    "uid": "gVSozgZPEp1broGE7mNP7GzxYe5lgpCa", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/mFKII9LKnm7rOyFLx0cSnDvIhA8aBZ9j/", 
                    "uid": "mFKII9LKnm7rOyFLx0cSnDvIhA8aBZ9j", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/9d2AYAf7v5ejZdnMXVNDfYEF8mj0Eo4N/", 
                    "uid": "9d2AYAf7v5ejZdnMXVNDfYEF8mj0Eo4N", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/LIVd3qZTqk51iMuixEBPizJWvHKxoBgP/", 
                    "uid": "LIVd3qZTqk51iMuixEBPizJWvHKxoBgP", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/TjrWGz0sll0z7mebRLrTtYHXzHlHpvZ9/", 
                    "uid": "TjrWGz0sll0z7mebRLrTtYHXzHlHpvZ9", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/MKUE4QDihdsmuIcVE9URQThjivnr4daB/", 
            "uid": "MKUE4QDihdsmuIcVE9URQThjivnr4daB", 
            "createdAt": "2014-09-04T13:04:16", 
            "updatedAt": "2014-09-04T13:04:16", 
            "label": "Pocket Mother on iPad de Anthony", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/aQ5mhHPet9osmmDrT4skC6OCLVlKQeEo/", 
            "uid": "aQ5mhHPet9osmmDrT4skC6OCLVlKQeEo", 
            "createdAt": "2014-09-09T19:16:35", 
            "updatedAt": "2014-09-09T19:16:35", 
            "label": "Pocket Mother Anthony's iPhone", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/CQV1dFF0ScIQNBhWar48a0fx20q7Rgp5/", 
            "uid": "CQV1dFF0ScIQNBhWar48a0fx20q7Rgp5", 
            "createdAt": "2014-09-29T12:11:26", 
            "updatedAt": "2014-09-29T12:11:26", 
            "label": "Pocket Mother on iT\u00e9l\u00e9phone de Hugo", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/gMERR6ErT6w7IvMkDoRZVtiY3jM50aOB/", 
            "uid": "gMERR6ErT6w7IvMkDoRZVtiY3jM50aOB", 
            "createdAt": "2014-09-29T15:55:30", 
            "updatedAt": "2014-09-29T15:55:30", 
            "label": "Pocket mother on Martha's iPad", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/TkWht90wzZrPG1P08b4oXphHBbtyxw7n/", 
            "uid": "TkWht90wzZrPG1P08b4oXphHBbtyxw7n", 
            "createdAt": "2014-12-15T13:11:38", 
            "updatedAt": "2015-03-22T08:07:46", 
            "label": "Mother in law", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/PgfTR5OxjHSnMKcBbHIlQLOiZac99a5J/", 
                    "uid": "PgfTR5OxjHSnMKcBbHIlQLOiZac99a5J", 
                    "label": "Touch", 
                    "type": "touch", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/NwNW2nagaPgRM1rGu7fdTNXxKDZWvqxs/", 
                    "uid": "NwNW2nagaPgRM1rGu7fdTNXxKDZWvqxs", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "mother"
            }, 
            "geometry": {
                "type": "Point", 
                "coordinates": [
                    48.8574, 
                    2.3795
                ]
            }, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/J3CKxruJ7zIOpzCJozEIk1eF4dfhswvl/", 
            "uid": "J3CKxruJ7zIOpzCJozEIk1eF4dfhswvl", 
            "createdAt": "2014-12-16T13:46:55", 
            "updatedAt": "2015-02-18T16:34:43", 
            "label": "sweet poodle", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/RGw7DIhSCarievU5ZY4eupek7FQ4lzbC/", 
                    "uid": "RGw7DIhSCarievU5ZY4eupek7FQ4lzbC", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/abZhpdTTTrLXLusbwKfdgULUT5bbZ3wM/", 
                    "uid": "abZhpdTTTrLXLusbwKfdgULUT5bbZ3wM", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/v5PO48xwHaSAThST9WV83roj9zIUa350/", 
                    "uid": "v5PO48xwHaSAThST9WV83roj9zIUa350", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/iGbrdooBDVuEHsYkec22UAeYScCMXey6/", 
                    "uid": "iGbrdooBDVuEHsYkec22UAeYScCMXey6", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/1Y1bcsrOg55BAj6Y7NwA7q5qOaAvqTTM/", 
                    "uid": "1Y1bcsrOg55BAj6Y7NwA7q5qOaAvqTTM", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/td7xUXS2W9ena1NaK3OoLnxeHYANqWyO/", 
                    "uid": "td7xUXS2W9ena1NaK3OoLnxeHYANqWyO", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/g54kjXGUR5fdgcNKgpZxv4yTEHC2WJVF/", 
            "uid": "g54kjXGUR5fdgcNKgpZxv4yTEHC2WJVF", 
            "createdAt": "2015-01-21T16:48:45", 
            "updatedAt": "2015-01-21T16:48:45", 
            "label": "Pocket Mother on Swallow", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/HALZgypATe5lqvn6JthXtlDZYUdgBHCW/", 
            "uid": "HALZgypATe5lqvn6JthXtlDZYUdgBHCW", 
            "createdAt": "2015-02-23T17:49:10", 
            "updatedAt": "2015-02-23T17:49:10", 
            "label": "Temperature AirBnB", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/7XPgxludnVbBpvbhZHagq1IqIHmVrF4e/", 
                    "uid": "7XPgxludnVbBpvbhZHagq1IqIHmVrF4e", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/ME6TRO2HPkIdIVNAEcdgCeEqWGcIGUjM/", 
                    "uid": "ME6TRO2HPkIdIVNAEcdgCeEqWGcIGUjM", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/ZM2SfPlz4VQQlhET0O2hrWuQS2HrzdvX/", 
                    "uid": "ZM2SfPlz4VQQlhET0O2hrWuQS2HrzdvX", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/7DHXe589XBpOi7534fc3CLk2wGvCn1L6/", 
                    "uid": "7DHXe589XBpOi7534fc3CLk2wGvCn1L6", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/sWPyZDTivED2e3zoI4DYgjGRbCnxaiAq/", 
                    "uid": "sWPyZDTivED2e3zoI4DYgjGRbCnxaiAq", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/r9HClL1nPx2zfwg6ItHnl9FMGq4OYgHY/", 
                    "uid": "r9HClL1nPx2zfwg6ItHnl9FMGq4OYgHY", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/AbT3VsrGYC7GJx7ADcZlP2tG266jh2eb/", 
            "uid": "AbT3VsrGYC7GJx7ADcZlP2tG266jh2eb", 
            "createdAt": "2015-02-23T17:49:42", 
            "updatedAt": "2015-04-29T07:21:23", 
            "label": "Presence AirBnB", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/pFFmNc2PKIVqQycPq9Ojq8Qh1VyPwOCe/", 
                    "uid": "pFFmNc2PKIVqQycPq9Ojq8Qh1VyPwOCe", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/QyMnJXNPWo1uIxpX6Yu9fyurZmBkaam3/", 
                    "uid": "QyMnJXNPWo1uIxpX6Yu9fyurZmBkaam3", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/pMwLs1OROrrgwWbm804Kx3nT7tDMoT7T/", 
                    "uid": "pMwLs1OROrrgwWbm804Kx3nT7tDMoT7T", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/PjnuZ0xRiSHkCyjrTbU9ScDtIoxmT9gi/", 
                    "uid": "PjnuZ0xRiSHkCyjrTbU9ScDtIoxmT9gi", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/DYs9zdEzNH5PeMdGzI6TPW7GA3bQL7r8/", 
                    "uid": "DYs9zdEzNH5PeMdGzI6TPW7GA3bQL7r8", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/HS1CfuS89ZFAmixtwSacBk4PIcQU7F0w/", 
                    "uid": "HS1CfuS89ZFAmixtwSacBk4PIcQU7F0w", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/cWtMK9a22fRA1TKbLXTHjHw16WoWI2m7/", 
            "uid": "cWtMK9a22fRA1TKbLXTHjHw16WoWI2m7", 
            "createdAt": "2015-03-22T07:49:40", 
            "updatedAt": "2015-03-22T07:49:40", 
            "label": "Birds cage temperature", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/WiW3xchxwrXg0SpECmheE1uNmGxYtL3m/", 
                    "uid": "WiW3xchxwrXg0SpECmheE1uNmGxYtL3m", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/YkbsiNt7vBN8Meg2bYMvBNKaXJXOpDWT/", 
                    "uid": "YkbsiNt7vBN8Meg2bYMvBNKaXJXOpDWT", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/u00pLudbqaKxnRzqEQwJGsgdMGL7n9zh/", 
                    "uid": "u00pLudbqaKxnRzqEQwJGsgdMGL7n9zh", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/0PhsJonB3ElSKuG5wTthtPP7dcMjWC88/", 
                    "uid": "0PhsJonB3ElSKuG5wTthtPP7dcMjWC88", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/6JVRzWW1uuRGPddCBLNcZGBfvw2F4ZuO/", 
                    "uid": "6JVRzWW1uuRGPddCBLNcZGBfvw2F4ZuO", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/cpb6HvmMngytKddzSYOiNvFxfXoZmhG1/", 
                    "uid": "cpb6HvmMngytKddzSYOiNvFxfXoZmhG1", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/9ojXelZqLk6ODhubB0UhknXHGeII5Jkq/", 
            "uid": "9ojXelZqLk6ODhubB0UhknXHGeII5Jkq", 
            "createdAt": "2015-08-04T07:33:16", 
            "updatedAt": "2015-08-04T07:33:16", 
            "label": "Pocket Mother on samsung SHV-E210S", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/1Ju5jZg13qthbv876nB9DPWGJH09c3If/", 
            "uid": "1Ju5jZg13qthbv876nB9DPWGJH09c3If", 
            "createdAt": "2015-10-15T15:50:50", 
            "updatedAt": "2015-10-15T15:50:50", 
            "label": "Living Room", 
            "paused": false, 
            "subscribes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/l99WyzKiE4Uy7degfbHun5IzP6wGwj5E/", 
                    "uid": "l99WyzKiE4Uy7degfbHun5IzP6wGwj5E", 
                    "label": "Thermostat", 
                    "type": "thermostat", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/LRMaXtoKB7SJHUR6umwLxb1EPgCLfRTn/", 
                    "uid": "LRMaXtoKB7SJHUR6umwLxb1EPgCLfRTn", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": true
                }
            ], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/NowDTg9ICrCOG9QfSdF70ArSDJlV9JtD/", 
                    "uid": "NowDTg9ICrCOG9QfSdF70ArSDJlV9JtD", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/HVAieV7g4XeozxlzpQARs8IW6WSHZ826/", 
                    "uid": "HVAieV7g4XeozxlzpQARs8IW6WSHZ826", 
                    "label": "Humidity", 
                    "type": "humidity", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "nest"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/MwzgDY5jCMg4nzjFvOdKgYTpG0LohxcH/", 
            "uid": "MwzgDY5jCMg4nzjFvOdKgYTpG0LohxcH", 
            "createdAt": "2015-10-20T16:13:27", 
            "updatedAt": "2015-10-20T16:13:27", 
            "label": "Pocket Mother on LGE Nexus 5", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/iGUd8EaXo32sWzaHcCNR7ZNJX5ltwgWT/", 
            "uid": "iGUd8EaXo32sWzaHcCNR7ZNJX5ltwgWT", 
            "createdAt": "2015-10-21T13:56:54", 
            "updatedAt": "2015-10-21T13:56:54", 
            "label": "Pocket Mother Anthony's iPhone", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/PsJwqB2r30uQFSi66CbSqoUtppzx9mEz/", 
            "uid": "PsJwqB2r30uQFSi66CbSqoUtppzx9mEz", 
            "createdAt": "2015-10-29T12:03:13", 
            "updatedAt": "2015-10-29T12:03:13", 
            "label": "Pocket Mother iPhone de Michel (2)", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/kf3P7aHyvma4W2mvIw0l0ymPUz5T2ciI/", 
            "uid": "kf3P7aHyvma4W2mvIw0l0ymPUz5T2ciI", 
            "createdAt": "2015-11-13T13:27:57", 
            "updatedAt": "2015-11-13T13:27:57", 
            "label": "Pocket mother on George's iPhone 6s", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/QIf6xskUYziArlNgPM0QqC84DZzQ5xUK/", 
            "uid": "QIf6xskUYziArlNgPM0QqC84DZzQ5xUK", 
            "createdAt": "2015-11-22T14:33:55", 
            "updatedAt": "2015-11-22T14:55:37", 
            "label": "Gym backpack", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/RQOiRDxGrB4fSJtrPfn2v1DZccBLvUSR/", 
                    "uid": "RQOiRDxGrB4fSJtrPfn2v1DZccBLvUSR", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/sDdZRZ3oKGXcPWqiNCH9vCEVJXd0Appp/", 
                    "uid": "sDdZRZ3oKGXcPWqiNCH9vCEVJXd0Appp", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/cpjckdNSSxb74vKnibvf02Cnf7K9LO1C/", 
                    "uid": "cpjckdNSSxb74vKnibvf02Cnf7K9LO1C", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/rimre4lGWfcingQkgdACorn5iRuEEvD7/", 
                    "uid": "rimre4lGWfcingQkgdACorn5iRuEEvD7", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/iYs4AvcCtZ2ibfrbtewP5qKjjAOT2YLN/", 
                    "uid": "iYs4AvcCtZ2ibfrbtewP5qKjjAOT2YLN", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/bt2KRLWk9CwHrNI7VoXEqRuqizK56xab/", 
                    "uid": "bt2KRLWk9CwHrNI7VoXEqRuqizK56xab", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/7ePfbV9AmctEeRRrzJVX6o6cYPyE6EZw/", 
            "uid": "7ePfbV9AmctEeRRrzJVX6o6cYPyE6EZw", 
            "createdAt": "2015-11-22T14:34:19", 
            "updatedAt": "2015-11-22T14:49:38", 
            "label": "Birds' food ", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/oBARyAOI9NUBjaFpXaGA2IUvUzj5oura/", 
                    "uid": "oBARyAOI9NUBjaFpXaGA2IUvUzj5oura", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/jvCH1TmNhKof3CYlTALyoeOCUlMP5dnk/", 
                    "uid": "jvCH1TmNhKof3CYlTALyoeOCUlMP5dnk", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/6hxxSbAhwewF1V0HftN3J3b0gktIYlsx/", 
                    "uid": "6hxxSbAhwewF1V0HftN3J3b0gktIYlsx", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/WqRrnQuGMK94Ns157NqFVeHl4u1eg9mm/", 
                    "uid": "WqRrnQuGMK94Ns157NqFVeHl4u1eg9mm", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/0HDvP6YH41M1OrwATjcaCMncUq9b2a3C/", 
                    "uid": "0HDvP6YH41M1OrwATjcaCMncUq9b2a3C", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/0E0yFXXFWGCNC3mIzvgMTBv4V2vRLipX/", 
                    "uid": "0E0yFXXFWGCNC3mIzvgMTBv4V2vRLipX", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/Hvc6ggxFqkDmNOfoqKNbuxbbMbG9wkpr/", 
            "uid": "Hvc6ggxFqkDmNOfoqKNbuxbbMbG9wkpr", 
            "createdAt": "2015-11-22T14:34:42", 
            "updatedAt": "2015-12-10T06:59:34", 
            "label": "Pills Crestor", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/345joT4qVkedK8bGPk2UW8NGv0xonJMz/", 
                    "uid": "345joT4qVkedK8bGPk2UW8NGv0xonJMz", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/dnQmC8AdiMsSa3YITu86Ng0u8AyEQFbE/", 
                    "uid": "dnQmC8AdiMsSa3YITu86Ng0u8AyEQFbE", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/TY9YaX7KcT4XbgAdpKTgA3tvJIGdGFRF/", 
                    "uid": "TY9YaX7KcT4XbgAdpKTgA3tvJIGdGFRF", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/9JfmwkSg39byu1lvQh8SlTuaNKooIX3T/", 
                    "uid": "9JfmwkSg39byu1lvQh8SlTuaNKooIX3T", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/7WYEub6V5yDLIWmFgr0pnDSsuwxM4hZg/", 
                    "uid": "7WYEub6V5yDLIWmFgr0pnDSsuwxM4hZg", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/Qdgz2NfGlgivv3f2NNStiAgGFFK1COrd/", 
                    "uid": "Qdgz2NfGlgivv3f2NNStiAgGFFK1COrd", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/xhKYP2H9Iicldu0F1wFq6k0K2jOCUYTN/", 
            "uid": "xhKYP2H9Iicldu0F1wFq6k0K2jOCUYTN", 
            "createdAt": "2015-11-22T14:35:03", 
            "updatedAt": "2015-11-22T14:42:45", 
            "label": "George's toothbrush", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/7tW6cAkvcoMyMaAOnKLeJkUwVLRx5U5b/", 
                    "uid": "7tW6cAkvcoMyMaAOnKLeJkUwVLRx5U5b", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/Z2dgAIOdRvK4BWkzaheaK3oWiugi2XgX/", 
                    "uid": "Z2dgAIOdRvK4BWkzaheaK3oWiugi2XgX", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/5iXqSWc3AnTAYspvjdl31bEVgPwOSJtI/", 
                    "uid": "5iXqSWc3AnTAYspvjdl31bEVgPwOSJtI", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/7zzrC5DavzHfweTLSmseqPw4iUWl5Igt/", 
                    "uid": "7zzrC5DavzHfweTLSmseqPw4iUWl5Igt", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/eOvcj8KOLnoTnXcdgPh9EuzgekzlVUDa/", 
                    "uid": "eOvcj8KOLnoTnXcdgPh9EuzgekzlVUDa", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/Ad4qBAZp8jVISfwCNCW2MiuPm5c91R4f/", 
                    "uid": "Ad4qBAZp8jVISfwCNCW2MiuPm5c91R4f", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/CYxfGWCJIjLWQUGTUKIfKnDuBJbjEONk/", 
            "uid": "CYxfGWCJIjLWQUGTUKIfKnDuBJbjEONk", 
            "createdAt": "2015-12-01T15:56:12", 
            "updatedAt": "2015-12-01T15:56:12", 
            "label": "Pocket Mother on iPhone Simulator", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/vZdCAWw19CcJjJwLj1lozwBhOk20w89v/", 
            "uid": "vZdCAWw19CcJjJwLj1lozwBhOk20w89v", 
            "createdAt": "2015-12-02T15:26:07", 
            "updatedAt": "2015-12-02T15:26:07", 
            "label": "Pocket Mother on Strelka", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/mWJAhFssYerlCikXj4EDcoBZelhsZTQz/", 
            "uid": "mWJAhFssYerlCikXj4EDcoBZelhsZTQz", 
            "createdAt": "2015-12-21T16:58:04", 
            "updatedAt": "2015-12-21T16:58:04", 
            "label": "Pocket Mother Axel's iPad", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/He6ks7j3sa1GI7SKZ7zTqnKfGxFnt0od/", 
            "uid": "He6ks7j3sa1GI7SKZ7zTqnKfGxFnt0od", 
            "createdAt": "2015-12-21T17:09:10", 
            "updatedAt": "2015-12-21T17:09:10", 
            "label": "Pocket Mother Axel's iPad", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/6tC1Un0Q8N4gkoKomiMtBCwwMTIg9If4/", 
            "uid": "6tC1Un0Q8N4gkoKomiMtBCwwMTIg9If4", 
            "createdAt": "2015-12-27T16:41:05", 
            "updatedAt": "2015-12-27T18:22:07", 
            "label": "Bottle", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/1unV0GxC9S6fgHri9DW91bKIxXKDmGxK/", 
                    "uid": "1unV0GxC9S6fgHri9DW91bKIxXKDmGxK", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/ERAiHP2IO0OzvgmMzeT0qFFekSPhEnU1/", 
                    "uid": "ERAiHP2IO0OzvgmMzeT0qFFekSPhEnU1", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/0ESoRpNCsfM5ytWGbgRKdjMgC4jE2GNA/", 
                    "uid": "0ESoRpNCsfM5ytWGbgRKdjMgC4jE2GNA", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/NsS80qvowmUBMdeeKHLhvszt5In89F9L/", 
                    "uid": "NsS80qvowmUBMdeeKHLhvszt5In89F9L", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/A5CKIjnCYGy7Wi0Zw3TIHwsUekMoWd0h/", 
                    "uid": "A5CKIjnCYGy7Wi0Zw3TIHwsUekMoWd0h", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/DxxqrrDE7oPxBrfbjMd27RF8gKqndlzV/", 
                    "uid": "DxxqrrDE7oPxBrfbjMd27RF8gKqndlzV", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/qX4BivnN8z047EjUmUUyZH59edsE5bY6/", 
            "uid": "qX4BivnN8z047EjUmUUyZH59edsE5bY6", 
            "createdAt": "2015-12-27T16:41:38", 
            "updatedAt": "2015-12-27T16:50:07", 
            "label": "Martha's toothbrush 2", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/IywWvmC3mq0W3DTHrv0gCQVS0s8sccw5/", 
                    "uid": "IywWvmC3mq0W3DTHrv0gCQVS0s8sccw5", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/PwXQDXWXDdMweBMaxUpySeKajFHArv5w/", 
                    "uid": "PwXQDXWXDdMweBMaxUpySeKajFHArv5w", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/NOBgJHL0jcrA1KLBNAKivsKlnQK93rNg/", 
                    "uid": "NOBgJHL0jcrA1KLBNAKivsKlnQK93rNg", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/6uqQZ3IXzLThozHq48T892tVztLqXq8P/", 
                    "uid": "6uqQZ3IXzLThozHq48T892tVztLqXq8P", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/sdlIs7er0dnoechUPNnlmIUAVmkX0M8O/", 
                    "uid": "sdlIs7er0dnoechUPNnlmIUAVmkX0M8O", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/tqJpY1bkU980z1Z0m1LydHd5MiWl73cK/", 
                    "uid": "tqJpY1bkU980z1Z0m1LydHd5MiWl73cK", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/xd6ibAMh9nXcSf4APe8fCbZouDsqRV60/", 
            "uid": "xd6ibAMh9nXcSf4APe8fCbZouDsqRV60", 
            "createdAt": "2016-01-02T18:46:58", 
            "updatedAt": "2016-01-02T18:47:42", 
            "label": "Traveling Mom", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/IeXdbSb1vFKRspLbwcjXgExO8KB0V7Nj/", 
                    "uid": "IeXdbSb1vFKRspLbwcjXgExO8KB0V7Nj", 
                    "label": "Touch", 
                    "type": "touch", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/b3g4EpufsUoFycS936W6jiCVBw2RIbLF/", 
                    "uid": "b3g4EpufsUoFycS936W6jiCVBw2RIbLF", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "mother"
            }, 
            "geometry": {
                "type": "Point", 
                "coordinates": [
                    48.8605622785578, 
                    2.36868533325196
                ]
            }, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/TNpEMzPIQs6SbHVak1qGrSiAK6Aos0yM/", 
            "uid": "TNpEMzPIQs6SbHVak1qGrSiAK6Aos0yM", 
            "createdAt": "2016-01-21T00:29:48", 
            "updatedAt": "2016-01-21T00:29:50", 
            "label": "Setsuko Germaine", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/HaKtdzZU2R8zWGIP7VUhc1Pacn60Jc6F/", 
                    "uid": "HaKtdzZU2R8zWGIP7VUhc1Pacn60Jc6F", 
                    "label": "Touch", 
                    "type": "touch", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/518gFK5SUXmLQhPMevPYhw8wqrZZmNSE/", 
                    "uid": "518gFK5SUXmLQhPMevPYhw8wqrZZmNSE", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "mother"
            }, 
            "geometry": {
                "type": "Point", 
                "coordinates": [
                    22.2833, 
                    114.15
                ]
            }, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/zHFhTSNMDWvHMYZsALfnuG3P9r3Idpuf/", 
            "uid": "zHFhTSNMDWvHMYZsALfnuG3P9r3Idpuf", 
            "createdAt": "2016-01-26T11:28:23", 
            "updatedAt": "2016-01-26T11:28:25", 
            "label": "Candelaria Tanika", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/hfwiTXXdX3xJA8pBg95wpxJ4DiqiCO3o/", 
                    "uid": "hfwiTXXdX3xJA8pBg95wpxJ4DiqiCO3o", 
                    "label": "Touch", 
                    "type": "touch", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/LKO1fklVjNXXrhR2RHUnyPlJuFZz5594/", 
                    "uid": "LKO1fklVjNXXrhR2RHUnyPlJuFZz5594", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "mother"
            }, 
            "geometry": {
                "type": "Point", 
                "coordinates": [
                    48.8622, 
                    2.1415
                ]
            }, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/P6opKnkbkeU5K2PNvqM8UTGRHGfCsVUa/", 
            "uid": "P6opKnkbkeU5K2PNvqM8UTGRHGfCsVUa", 
            "createdAt": "2016-02-01T21:16:09", 
            "updatedAt": "2016-02-01T21:16:09", 
            "label": "Pocket Mother on LGE LG-D855", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/XzdlxN0n4BIWdTYnqxnNkanM58iikBaA/", 
            "uid": "XzdlxN0n4BIWdTYnqxnNkanM58iikBaA", 
            "createdAt": "2016-02-11T17:53:42", 
            "updatedAt": "2016-02-11T17:53:42", 
            "label": "Pocket Mother rPhone (2)", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [], 
            "resource": {
                "type": "device", 
                "slug": "pocketmother"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/KuoStB17H7Vhili5RTKjsropgGus6ppr/", 
            "uid": "KuoStB17H7Vhili5RTKjsropgGus6ppr", 
            "createdAt": "2016-02-15T07:05:32", 
            "updatedAt": "2016-02-15T07:05:32", 
            "label": "Experimental", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/VZuF7oeblNvi00YSXhKbA4QA1s8Pk5eK/", 
                    "uid": "VZuF7oeblNvi00YSXhKbA4QA1s8Pk5eK", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/o7IBlJvJ2q18tOJAzNMuLw3IRYnI0hIS/", 
                    "uid": "o7IBlJvJ2q18tOJAzNMuLw3IRYnI0hIS", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/2UF61Ay1reWLHNvNzvJTPghKDqK3DCRu/", 
                    "uid": "2UF61Ay1reWLHNvNzvJTPghKDqK3DCRu", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/jZwo5vChMNfQiElzh9RXITinD0SDw3Wg/", 
                    "uid": "jZwo5vChMNfQiElzh9RXITinD0SDw3Wg", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/mxdL4XgTCYvIf7GRfscfQzYTvQrqyjcn/", 
                    "uid": "mxdL4XgTCYvIf7GRfscfQzYTvQrqyjcn", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/jChgmFV299AUtZQyumtGtmfpz2fhJR1K/", 
                    "uid": "jChgmFV299AUtZQyumtGtmfpz2fhJR1K", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }
    ], 
    "applications": [
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/AbsVOuYJvKn8yJa6KlxF4w5lmeAApZlA/", 
            "uid": "AbsVOuYJvKn8yJa6KlxF4w5lmeAApZlA", 
            "label": "Check Fridge"
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/xF7wsmpVl3kGNpPQXbHsyvSL656hWf81/", 
            "uid": "xF7wsmpVl3kGNpPQXbHsyvSL656hWf81", 
            "label": "Door Home"
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/StCHyOowbmZqhg559afPyb8ifJay6x6X/", 
            "uid": "StCHyOowbmZqhg559afPyb8ifJay6x6X", 
            "label": "Teeth George and Martha"
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/ROoXydk8uZxcTI6ifIxGJhTTdl9JgRsF/", 
            "uid": "ROoXydk8uZxcTI6ifIxGJhTTdl9JgRsF", 
            "label": "Battery"
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/NjOBz9cAO0H7w4hTKgLExsZUtxLF1M6o/", 
            "uid": "NjOBz9cAO0H7w4hTKgLExsZUtxLF1M6o", 
            "label": "Temperature"
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/3cI0g29p2yliPFXz72ds8k4RRqTiWQvb/", 
            "uid": "3cI0g29p2yliPFXz72ds8k4RRqTiWQvb", 
            "label": "Walk George"
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/4DQVXgcRwXlxxwlyK35wXIC5blxkbcq3/", 
            "uid": "4DQVXgcRwXlxxwlyK35wXIC5blxkbcq3", 
            "label": "Medication George"
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/PB11yn50yHjZaBXD3LwqYyoT6Cqv0441/", 
            "uid": "PB11yn50yHjZaBXD3LwqYyoT6Cqv0441", 
            "label": "Sleep George"
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/nlb6Q8V12L2eg9L1lrIDlJ2OQBfKaIN8/", 
            "uid": "nlb6Q8V12L2eg9L1lrIDlJ2OQBfKaIN8", 
            "label": "Presence \u00e0 Our Home"
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/frcxRtC23xvxO7I89m9sc3gBEZDWwsoX/", 
            "uid": "frcxRtC23xvxO7I89m9sc3gBEZDWwsoX", 
            "label": "Coffee AirBnB guests"
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/EI732sy0Fj3BVUSWqYY9LfCDV1Zj6uvG/", 
            "uid": "EI732sy0Fj3BVUSWqYY9LfCDV1Zj6uvG", 
            "label": "Drink George"
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/iNOqXMRRdUKFRA2jGx4zryGQ9ennuLGG/", 
            "uid": "iNOqXMRRdUKFRA2jGx4zryGQ9ennuLGG", 
            "label": "Habits Gym"
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/tJQBfPHqjPMTOkYYM8gWSaOM2eUawPmF/", 
            "uid": "tJQBfPHqjPMTOkYYM8gWSaOM2eUawPmF", 
            "label": "Sleep Pascalyne"
        }
    ], 
    "persons": [
        {
            "object": "person", 
            "uid": "GyVJHUH9xkpqP7HcIk5KKLLU1V9wnQMS", 
            "firstName": "George", 
            "lastName": "Wilson", 
            "email": "pascalyne@sen.se", 
            "phoneNumber": null, 
            "avatarUrl": "https://d6gl1inbman3n.cloudfront.net/img/avatars/m_22.png", 
            "gender": "m"
        }, 
        {
            "object": "person", 
            "uid": "IZWxzgG2P7t54QuKdoBOu5uwuFW4a4IS", 
            "firstName": "Martha", 
            "lastName": "", 
            "email": null, 
            "phoneNumber": null, 
            "avatarUrl": "https://d6gl1inbman3n.cloudfront.net/img/avatars/f_12.png", 
            "gender": "f"
        }, 
        {
            "object": "person", 
            "uid": "QGOVoTYSl4Ff6gfHot43lzg77MSk8LF9", 
            "firstName": "Judith", 
            "lastName": null, 
            "email": "", 
            "phoneNumber": "", 
            "avatarUrl": "https://d6gl1inbman3n.cloudfront.net/img/avatars/f_09.png", 
            "gender": "f"
        }, 
        {
            "object": "person", 
            "uid": "A9pUXlHCFgTFkAOQVLVzDmYuGEOs3odN", 
            "firstName": "Lucy", 
            "lastName": "", 
            "email": null, 
            "phoneNumber": null, 
            "avatarUrl": "https://d6gl1inbman3n.cloudfront.net/img/avatars/f_04.png", 
            "gender": "f"
        }, 
        {
            "object": "person", 
            "uid": "yvWpdYpT9ahNEDNZbpo7Vf1mGMHT3kg8", 
            "firstName": "Jeremy", 
            "lastName": "", 
            "email": null, 
            "phoneNumber": null, 
            "avatarUrl": "https://d6gl1inbman3n.cloudfront.net/img/avatars/m_16.png", 
            "gender": "m"
        }, 
        {
            "object": "person", 
            "uid": "rPjinhnTuLJQlIygockinviSYIOt6WhB", 
            "firstName": "Pascalyne", 
            "lastName": "", 
            "email": "pascalynewilson@gmail.com", 
            "phoneNumber": "+33617617688", 
            "avatarUrl": "https://d6gl1inbman3n.cloudfront.net/img/avatars/m_08.png", 
            "gender": "m"
        }
    ], 
    "subscriptions": [
        {
            "object": "subscription", 
            "url": "https://apis.sen.se/v2/subscriptions/PL7W4u6areYI9x1GAz4eF204PTWipoGN/", 
            "uid": "PL7W4u6areYI9x1GAz4eF204PTWipoGN", 
            "label": "Subscription test"
        }
    ]
}
Status Codes:
  • 200 OK – The request has succeeded.
  • 401 Unauthorized – Authenticate your request with one of the user or developer mechanism.

Nodes

GET /nodes/
Synopsis:

Get all the Nodes belonging to the User.

Query Parameters:
 
  • page (int) – The index of the page of results (5 per pages).
  • resource__type (str) – Filter by the node’s resource type.
  • resource__slug (str) – Filter by the node’s resource slug.

Example (Python client):

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> sense.Node.list()
>>> sense.Node.list(resource__type='device', resource__slug='cookie')

Example request (CURL):

curl https://apis.sen.se/v2/nodes/ \
     -u demoone:password-placeholder

Example response:

{
    "links": {
        "next": "https://apis.sen.se/v2/nodes/?page=2", 
        "prev": null
    }, 
    "totalObjects": 66, 
    "object": "list", 
    "objects": [
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/TKVHhI0AIi9MsMxJlOEt7NM1MPHt0hUQ/", 
            "uid": "TKVHhI0AIi9MsMxJlOEt7NM1MPHt0hUQ", 
            "createdAt": "2013-11-18T02:29:23", 
            "updatedAt": "2013-11-18T02:29:23", 
            "label": "demoone", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/rgyK5bOcnJAIBlWh2sH4eswogVtCwfOO/", 
                    "uid": "rgyK5bOcnJAIBlWh2sH4eswogVtCwfOO", 
                    "label": "Notification", 
                    "type": "notification", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "user", 
                "slug": "user"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/K7Kcu7191qjjWdC1RF0f2clw0KsEp6M0/", 
            "uid": "K7Kcu7191qjjWdC1RF0f2clw0KsEp6M0", 
            "createdAt": "2014-08-09T14:19:18", 
            "updatedAt": "2014-11-23T15:29:26", 
            "label": "Mother of all things", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/98FWuk6cKMTl5dSpR36aAsGwW3QjCJh8/", 
                    "uid": "98FWuk6cKMTl5dSpR36aAsGwW3QjCJh8", 
                    "label": "Touch", 
                    "type": "touch", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/ksE0XryQqexySgJ1LhDqLCuv3FjyvDhj/", 
                    "uid": "ksE0XryQqexySgJ1LhDqLCuv3FjyvDhj", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "mother"
            }, 
            "geometry": {
                "type": "Point", 
                "coordinates": [
                    48.8607834471752, 
                    2.36826265335083
                ]
            }, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/", 
            "uid": "Nf6QUJBWxsB9arukraSR9BfaRpx32QNS", 
            "createdAt": "2014-08-09T14:23:53", 
            "updatedAt": "2015-02-23T16:14:23", 
            "label": "bed", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/TeT75dqqCXtyp3JyYU2zWthzuG6nRZql/", 
                    "uid": "TeT75dqqCXtyp3JyYU2zWthzuG6nRZql", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/XeLcIbVFB525RqHD7wAFqZuxxzDFICzu/", 
                    "uid": "XeLcIbVFB525RqHD7wAFqZuxxzDFICzu", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/xSXdRJoneu8TWQKRnYOi6VZe8nv6loG9/", 
                    "uid": "xSXdRJoneu8TWQKRnYOi6VZe8nv6loG9", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/7iEALPoZMPTvqCKVBKknqgkCcyrlhOt6/", 
                    "uid": "7iEALPoZMPTvqCKVBKknqgkCcyrlhOt6", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/", 
                    "uid": "e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/NElTqLks5VHjsX8QVrBJ1hVRhMGjOpXI/", 
                    "uid": "NElTqLks5VHjsX8QVrBJ1hVRhMGjOpXI", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/UjizDqdFQc0r7lcn061ZJb5A5If9UAki/", 
            "uid": "UjizDqdFQc0r7lcn061ZJb5A5If9UAki", 
            "createdAt": "2014-08-09T14:24:38", 
            "updatedAt": "2015-02-28T10:28:29", 
            "label": "Martha", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/XswOV0Ow2T7pfwluS9UPq90bYJzKvEBG/", 
                    "uid": "XswOV0Ow2T7pfwluS9UPq90bYJzKvEBG", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/HN4c06PpgAg90b8Tyu45oOarEjUVW4wl/", 
                    "uid": "HN4c06PpgAg90b8Tyu45oOarEjUVW4wl", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/Gc2qiH56MG1GNwlSVFRu8K1kMeMcxFk2/", 
                    "uid": "Gc2qiH56MG1GNwlSVFRu8K1kMeMcxFk2", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/He6il1hdQlfV0wuBF2iNbAgtwVljL8x5/", 
                    "uid": "He6il1hdQlfV0wuBF2iNbAgtwVljL8x5", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/E5ooQfUZ1C91BjeDqSDQWZ5idg1MYmVJ/", 
                    "uid": "E5ooQfUZ1C91BjeDqSDQWZ5idg1MYmVJ", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/6RNXCqWcCrEC0BBADbUqIMTeTuLbT0Ru/", 
                    "uid": "6RNXCqWcCrEC0BBADbUqIMTeTuLbT0Ru", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/T4tNHSQ3qEUCVl6uyH4uO55ebDZdpZGY/", 
            "uid": "T4tNHSQ3qEUCVl6uyH4uO55ebDZdpZGY", 
            "createdAt": "2014-08-09T14:27:43", 
            "updatedAt": "2015-02-10T15:14:21", 
            "label": "fridge", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/qAvSUQRvTHxDLqI7VWcFa7Mmxnrj7m7T/", 
                    "uid": "qAvSUQRvTHxDLqI7VWcFa7Mmxnrj7m7T", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/tIWx5aFp0vWcaPHYWptDEanlH1a7lfGT/", 
                    "uid": "tIWx5aFp0vWcaPHYWptDEanlH1a7lfGT", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/PiOIzB8gXWiO4mEik5ZFYJ5G6LHL9fH6/", 
                    "uid": "PiOIzB8gXWiO4mEik5ZFYJ5G6LHL9fH6", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/qYHgX4jEGU7S7S4bwpW4ozTgwyoPtVUK/", 
                    "uid": "qYHgX4jEGU7S7S4bwpW4ozTgwyoPtVUK", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/oTNuinxFK1L8o3nJ7ogn9gGhcEIcynRN/", 
                    "uid": "oTNuinxFK1L8o3nJ7ogn9gGhcEIcynRN", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/1gIQDGrKGa9Z3nfhDDrp1hd459S8NN8P/", 
                    "uid": "1gIQDGrKGa9Z3nfhDDrp1hd459S8NN8P", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/G8Ek6chqHKShUcEEdc0x3uznhX9uPaul/", 
            "uid": "G8Ek6chqHKShUcEEdc0x3uznhX9uPaul", 
            "createdAt": "2014-08-09T14:29:59", 
            "updatedAt": "2015-02-28T10:30:56", 
            "label": "right door", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/u2SwK4S4YobyHMsTVNUgQuuef3orS49w/", 
                    "uid": "u2SwK4S4YobyHMsTVNUgQuuef3orS49w", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/8lHV86BkghLq9C3ZyH3WDXjzJj3gdUxC/", 
                    "uid": "8lHV86BkghLq9C3ZyH3WDXjzJj3gdUxC", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/eLUbcUPWCFsgO6bA7xq8c4siYxWdxUo2/", 
                    "uid": "eLUbcUPWCFsgO6bA7xq8c4siYxWdxUo2", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/l16h4d4jKK7xKsguxuAUn66MzyejFvto/", 
                    "uid": "l16h4d4jKK7xKsguxuAUn66MzyejFvto", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/tjNelWlCTVb51V7vEg8LgOjCez8W2KKB/", 
                    "uid": "tjNelWlCTVb51V7vEg8LgOjCez8W2KKB", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/8y3ERisS8WYgEgJuEVDlRajTceBtyYz7/", 
                    "uid": "8y3ERisS8WYgEgJuEVDlRajTceBtyYz7", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/DPOry8bDJ1KLKxNVvLvnVEoV4K932nUN/", 
            "uid": "DPOry8bDJ1KLKxNVvLvnVEoV4K932nUN", 
            "createdAt": "2014-08-09T14:30:50", 
            "updatedAt": "2015-02-26T12:15:24", 
            "label": "Nespresso AirBnB", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/9OfSCm0z1kTL5RA4sVnotEvUj5JcHHKr/", 
                    "uid": "9OfSCm0z1kTL5RA4sVnotEvUj5JcHHKr", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/i57Jh0dAiblBfe5mZnxdULzAkzsq0d7D/", 
                    "uid": "i57Jh0dAiblBfe5mZnxdULzAkzsq0d7D", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/GXwCGbMByYuyTIpDOdIPZQUXf5ZoNymn/", 
                    "uid": "GXwCGbMByYuyTIpDOdIPZQUXf5ZoNymn", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/S3skjMFywNXuN4qJRYmZEqhI9Mn7BRNb/", 
                    "uid": "S3skjMFywNXuN4qJRYmZEqhI9Mn7BRNb", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/cWxlG81Ra52eg7R03VzrI1MTXQzuOkw0/", 
                    "uid": "cWxlG81Ra52eg7R03VzrI1MTXQzuOkw0", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/agVqXQAFjWA5MN9M7QInqS6uQsFd60mN/", 
                    "uid": "agVqXQAFjWA5MN9M7QInqS6uQsFd60mN", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/K6X9kYkGvJvcuHv0VlBZewbFAchO99Xs/", 
            "uid": "K6X9kYkGvJvcuHv0VlBZewbFAchO99Xs", 
            "createdAt": "2014-08-09T14:32:55", 
            "updatedAt": "2015-12-10T06:57:48", 
            "label": "Unused", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/rQFb7hJ9CNJBzPz649FnOT5uZDrHeGtX/", 
                    "uid": "rQFb7hJ9CNJBzPz649FnOT5uZDrHeGtX", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/mXBibtJ45CHCLchQcUvNdGXLMzajSRDM/", 
                    "uid": "mXBibtJ45CHCLchQcUvNdGXLMzajSRDM", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/K8AmxcjAgt8oWXkWLKUqEWvSvDdclAiB/", 
                    "uid": "K8AmxcjAgt8oWXkWLKUqEWvSvDdclAiB", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/9n2jNlktcojkC0MFJEwCHemc5GLxXJoz/", 
                    "uid": "9n2jNlktcojkC0MFJEwCHemc5GLxXJoz", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/yU1At8ivSWNSY9bZBZUaSSJeudveEaPG/", 
                    "uid": "yU1At8ivSWNSY9bZBZUaSSJeudveEaPG", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/aRCxNsVcW6TT0k88jgewlIGdZYWFOpLw/", 
                    "uid": "aRCxNsVcW6TT0k88jgewlIGdZYWFOpLw", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/RFShlvNFBPTXGliD2tqsbDB9BIVTnoE2/", 
            "uid": "RFShlvNFBPTXGliD2tqsbDB9BIVTnoE2", 
            "createdAt": "2014-08-09T15:05:11", 
            "updatedAt": "2015-05-24T10:43:34", 
            "label": "George's pedometer", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/3gcWMtCoYLSWF5ImSIobvZ9t4I5ZFzut/", 
                    "uid": "3gcWMtCoYLSWF5ImSIobvZ9t4I5ZFzut", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/dNdeUsH9MHoPGIGhe4GytLhpBaKTPYyo/", 
                    "uid": "dNdeUsH9MHoPGIGhe4GytLhpBaKTPYyo", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/8Em8nFb0KNrCVX1Oy3qrDeCwUVj0cVLv/", 
                    "uid": "8Em8nFb0KNrCVX1Oy3qrDeCwUVj0cVLv", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/NM1eNp0GS2iJxcefvoatElFhC9A7tvgw/", 
                    "uid": "NM1eNp0GS2iJxcefvoatElFhC9A7tvgw", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/KIIWqWCaOqrBFdOenD1K8nHAs08yGMvO/", 
                    "uid": "KIIWqWCaOqrBFdOenD1K8nHAs08yGMvO", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/KEEWrvhOYs5lP5J2bID2LVo1dl02yrJ4/", 
                    "uid": "KEEWrvhOYs5lP5J2bID2LVo1dl02yrJ4", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }, 
        {
            "object": "node", 
            "url": "https://apis.sen.se/v2/nodes/p6S3wF1C9S1o3zW15rjxKt7jWGBgu1vF/", 
            "uid": "p6S3wF1C9S1o3zW15rjxKt7jWGBgu1vF", 
            "createdAt": "2014-08-09T15:05:49", 
            "updatedAt": "2015-02-18T17:13:39", 
            "label": "George", 
            "paused": false, 
            "subscribes": [], 
            "publishes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/kGJNG13DvU2iT3sKFfE8OvyvL1o92HZG/", 
                    "uid": "kGJNG13DvU2iT3sKFfE8OvyvL1o92HZG", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/fYCWmUj1pGEgZrXqLQ8uaBj4h9Btkx9O/", 
                    "uid": "fYCWmUj1pGEgZrXqLQ8uaBj4h9Btkx9O", 
                    "label": "Presence", 
                    "type": "presence", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/WojsmPdH75JguMD79ppQHpv8aA80f5CN/", 
                    "uid": "WojsmPdH75JguMD79ppQHpv8aA80f5CN", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/cQOPPA32z24gu6vKr0r1oVG2Sq2f4r7E/", 
                    "uid": "cQOPPA32z24gu6vKr0r1oVG2Sq2f4r7E", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/lyADB4HviV1mHegUdVmLhOgliQIfOOuM/", 
                    "uid": "lyADB4HviV1mHegUdVmLhOgliQIfOOuM", 
                    "label": "Temperature", 
                    "type": "temperature", 
                    "used": false
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/Hzj7qxlSF9Kyou6QxHbQBYMJmLpwBI1t/", 
                    "uid": "Hzj7qxlSF9Kyou6QxHbQBYMJmLpwBI1t", 
                    "label": "Battery debug", 
                    "type": "batterydebug", 
                    "used": false
                }
            ], 
            "resource": {
                "type": "device", 
                "slug": "cookie"
            }, 
            "geometry": null, 
            "token": null
        }
    ]
}
POST /nodes/
Synopsis:Start the Node creation process. Validate the Node attributes and return a confirmation URL, to which the current user needs to be redirected.

Note

This endpoint is only available to application developers during the app installation process.

Form Parameters:
 
  • label – The name of this Node as it appears on the Senseboard.
  • subscribes – List of Feeds UID or URLs that the Node will be notified when there are new events.
  • publishes – List of Feeds UID or URLs that the Node will send events to.

Note

The subscribes and publishes can be lists of:

  • feed UIDs
  • feed URLs
  • nested feed URLs
  • URLs relative to a node being created

For example:

e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY
/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/
/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/feeds/temperature
feeds/temperature

are all valid values for subscribes and publishes.

Response (JSON)

{
    state: 'pending',
    nodeUid: 'Nf6QUJBWxsB9arukraSR9BfaRpx32QNS',
    confirmUrl: 'https://apis.sen.se/v2/confirm?data=xxxxxxxxxxxxx'
}
Status Codes:
GET /nodes/(uid)/
Synopsis:

Get a single Node by its uid.

Parameters:
  • uid – Unique Node identifier

Example (Python client)

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> node = sense.Node.retrieve('Nf6QUJBWxsB9arukraSR9BfaRpx32QNS')

Example request (CURL):

curl https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/ \
     -u demoone:password-placeholder

Example response:

{
    "object": "node", 
    "url": "https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/", 
    "uid": "Nf6QUJBWxsB9arukraSR9BfaRpx32QNS", 
    "createdAt": "2014-08-09T14:23:53", 
    "updatedAt": "2015-02-23T16:14:23", 
    "label": "bed", 
    "paused": false, 
    "subscribes": [], 
    "publishes": [
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/TeT75dqqCXtyp3JyYU2zWthzuG6nRZql/", 
            "uid": "TeT75dqqCXtyp3JyYU2zWthzuG6nRZql", 
            "label": "Motion", 
            "type": "motion", 
            "used": true
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/XeLcIbVFB525RqHD7wAFqZuxxzDFICzu/", 
            "uid": "XeLcIbVFB525RqHD7wAFqZuxxzDFICzu", 
            "label": "Presence", 
            "type": "presence", 
            "used": false
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/xSXdRJoneu8TWQKRnYOi6VZe8nv6loG9/", 
            "uid": "xSXdRJoneu8TWQKRnYOi6VZe8nv6loG9", 
            "label": "Battery", 
            "type": "battery", 
            "used": true
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/7iEALPoZMPTvqCKVBKknqgkCcyrlhOt6/", 
            "uid": "7iEALPoZMPTvqCKVBKknqgkCcyrlhOt6", 
            "label": "Alert", 
            "type": "alert", 
            "used": true
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/", 
            "uid": "e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY", 
            "label": "Temperature", 
            "type": "temperature", 
            "used": true
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/NElTqLks5VHjsX8QVrBJ1hVRhMGjOpXI/", 
            "uid": "NElTqLks5VHjsX8QVrBJ1hVRhMGjOpXI", 
            "label": "Battery debug", 
            "type": "batterydebug", 
            "used": false
        }
    ], 
    "resource": {
        "type": "device", 
        "slug": "cookie"
    }, 
    "geometry": null, 
    "token": null
}
PUT /nodes/(uid)
Synopsis:

Update a Node.

Parameters:
  • uid – Unique Node identifier

Note

This endpoint is only available to application developers during the app update process.

Form Parameters:
 
  • label – The name of this Node as it appears on the Senseboard.
  • subscribes – List of Feeds UID or URLs (see Addressing a feed) that the Node will be notified when there are new events.
  • publishes – List of Feeds UID or URLs (see Addressing a feed) that the Node will send events to.

Response (JSON)

{
    state: 'pending',
    nodeUid: 'Nf6QUJBWxsB9arukraSR9BfaRpx32QNS',
    confirmUrl: 'https://apis.sen.se/v2/confirm?data=xxxxxxxxxxxxx'
}
Status Codes:
  • 200 OK – Return the Node object that was just updated.
  • 400 Bad Request – If you provide invalid data; in particular, if you try to subscribe to or publish in a invalid feed.
  • 401 Unauthorized – If you did not provide an authentication token, or if you’re logged in as a user.
  • 403 Forbidden – If you try to update another node
GET /node/
Synopsis:Get the node associated with your application.

Note

This endpoint is only available to external application developers

Response

See GET /nodes/(uid)/

Feeds

GET /nodes/(uid)/feeds/
Synopsis:

Get the Feeds created by a Node.

Parameters:
  • uid – Unique Node identifier

Example (Python client)

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> node = sense.Node.retrieve('Nf6QUJBWxsB9arukraSR9BfaRpx32QNS')
>>> node.feeds.list()

Example request (CURL):

curl https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/feeds/ \
     -u demoone:password-placeholder

Example response:

{
    "links": {
        "next": null, 
        "prev": null
    }, 
    "totalObjects": 6, 
    "object": "list", 
    "objects": [
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/7iEALPoZMPTvqCKVBKknqgkCcyrlhOt6/", 
            "uid": "7iEALPoZMPTvqCKVBKknqgkCcyrlhOt6", 
            "label": "Alert", 
            "type": "alert", 
            "used": true
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/xSXdRJoneu8TWQKRnYOi6VZe8nv6loG9/", 
            "uid": "xSXdRJoneu8TWQKRnYOi6VZe8nv6loG9", 
            "label": "Battery", 
            "type": "battery", 
            "used": true
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/NElTqLks5VHjsX8QVrBJ1hVRhMGjOpXI/", 
            "uid": "NElTqLks5VHjsX8QVrBJ1hVRhMGjOpXI", 
            "label": "Battery debug", 
            "type": "batterydebug", 
            "used": false
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/TeT75dqqCXtyp3JyYU2zWthzuG6nRZql/", 
            "uid": "TeT75dqqCXtyp3JyYU2zWthzuG6nRZql", 
            "label": "Motion", 
            "type": "motion", 
            "used": true
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/XeLcIbVFB525RqHD7wAFqZuxxzDFICzu/", 
            "uid": "XeLcIbVFB525RqHD7wAFqZuxxzDFICzu", 
            "label": "Presence", 
            "type": "presence", 
            "used": false
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/", 
            "uid": "e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY", 
            "label": "Temperature", 
            "type": "temperature", 
            "used": true
        }
    ]
}
GET /nodes/(uid)/feeds/(type)/
Synopsis:

Get the Feed of (type) created by a Node.

Parameters:
  • uid – Unique Node identifier
  • type – Feed type

Example (Python client)

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> node = sense.Node.retrieve('Nf6QUJBWxsB9arukraSR9BfaRpx32QNS')
>>> node.feeds.retrieve('temperature')

Example request (CURL):

curl https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/feeds/temperature/ \
     -u demoone:password-placeholder

Example response:

{
    "object": "feed", 
    "url": "https://apis.sen.se/v2/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/", 
    "uid": "e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY", 
    "label": "Temperature", 
    "type": "temperature", 
    "node": "https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/", 
    "used": true, 
    "eventsUrl": "https://apis.sen.se/v2/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/events/", 
    "eventsModel": {
        "profile": {
            "required": false, 
            "type": "str"
        }, 
        "feedUid": {
            "required": true, 
            "type": "str"
        }, 
        "gatewayNodeUid": {
            "required": false, 
            "type": "str"
        }, 
        "dateServer": {
            "required": false, 
            "type": "datetime"
        }, 
        "geometry": {
            "type": {
                "required": false, 
                "type": "str"
            }, 
            "coordinates": {
                "required": false, 
                "type": [
                    {
                        "required": false, 
                        "type": "int"
                    }
                ]
            }
        }, 
        "data": {
            "centidegreeCelsius": {
                "required": true, 
                "type": "int"
            }
        }, 
        "signal": {
            "required": false, 
            "type": "int"
        }, 
        "dateEvent": {
            "required": true, 
            "type": "datetime"
        }, 
        "expiresAt": {
            "required": false, 
            "type": "datetime"
        }, 
        "version": {
            "required": false, 
            "type": "str"
        }, 
        "type": {
            "required": true, 
            "type": "str"
        }, 
        "payload": {
            "required": false, 
            "type": "str"
        }, 
        "nodeUid": {
            "required": false, 
            "type": "str"
        }
    }
}
GET /feeds/
Synopsis:

Get the collection of all Feeds created by Nodes belonging to the User.

Query Parameters:
 
  • page (int) – Index of the page of results (5 per pages).

Example (Python client)

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> sense.Feed.list()

Example request (CURL):

curl https://apis.sen.se/v2/feeds/ \
     -u demoone:password-placeholder

Example response:

{
    "links": {
        "next": "https://apis.sen.se/v2/feeds/?page=2", 
        "prev": null
    }, 
    "totalObjects": 170, 
    "object": "list", 
    "objects": [
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/rgyK5bOcnJAIBlWh2sH4eswogVtCwfOO/", 
            "uid": "rgyK5bOcnJAIBlWh2sH4eswogVtCwfOO", 
            "label": "Notification", 
            "type": "notification", 
            "node": "https://apis.sen.se/v2/nodes/TKVHhI0AIi9MsMxJlOEt7NM1MPHt0hUQ/", 
            "used": false
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/cUxF0NhesrJ0CIBduISt6p7srgbpxM16/", 
            "uid": "cUxF0NhesrJ0CIBduISt6p7srgbpxM16", 
            "label": "Sms", 
            "type": "sms", 
            "node": "https://apis.sen.se/v2/nodes/TKVHhI0AIi9MsMxJlOEt7NM1MPHt0hUQ/", 
            "used": false
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/98FWuk6cKMTl5dSpR36aAsGwW3QjCJh8/", 
            "uid": "98FWuk6cKMTl5dSpR36aAsGwW3QjCJh8", 
            "label": "Touch", 
            "type": "touch", 
            "node": "https://apis.sen.se/v2/nodes/K7Kcu7191qjjWdC1RF0f2clw0KsEp6M0/", 
            "used": false
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/ksE0XryQqexySgJ1LhDqLCuv3FjyvDhj/", 
            "uid": "ksE0XryQqexySgJ1LhDqLCuv3FjyvDhj", 
            "label": "Presence", 
            "type": "presence", 
            "node": "https://apis.sen.se/v2/nodes/K7Kcu7191qjjWdC1RF0f2clw0KsEp6M0/", 
            "used": false
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/TeT75dqqCXtyp3JyYU2zWthzuG6nRZql/", 
            "uid": "TeT75dqqCXtyp3JyYU2zWthzuG6nRZql", 
            "label": "Motion", 
            "type": "motion", 
            "node": "https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/", 
            "used": true
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/XeLcIbVFB525RqHD7wAFqZuxxzDFICzu/", 
            "uid": "XeLcIbVFB525RqHD7wAFqZuxxzDFICzu", 
            "label": "Presence", 
            "type": "presence", 
            "node": "https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/", 
            "used": false
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/xSXdRJoneu8TWQKRnYOi6VZe8nv6loG9/", 
            "uid": "xSXdRJoneu8TWQKRnYOi6VZe8nv6loG9", 
            "label": "Battery", 
            "type": "battery", 
            "node": "https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/", 
            "used": true
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/7iEALPoZMPTvqCKVBKknqgkCcyrlhOt6/", 
            "uid": "7iEALPoZMPTvqCKVBKknqgkCcyrlhOt6", 
            "label": "Alert", 
            "type": "alert", 
            "node": "https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/", 
            "used": true
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/", 
            "uid": "e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY", 
            "label": "Temperature", 
            "type": "temperature", 
            "node": "https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/", 
            "used": true
        }, 
        {
            "object": "feed", 
            "url": "https://apis.sen.se/v2/feeds/NElTqLks5VHjsX8QVrBJ1hVRhMGjOpXI/", 
            "uid": "NElTqLks5VHjsX8QVrBJ1hVRhMGjOpXI", 
            "label": "Battery debug", 
            "type": "batterydebug", 
            "node": "https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/", 
            "used": false
        }
    ]
}
GET /feeds/(uid)
Synopsis:

Get a Feed information.

Parameters:
  • uid – Unique Feed identifier.

Example (Python client)

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> sense.Feed.retrieve('e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY')

Example request (CURL):

curl https://apis.sen.se/v2/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/ \
     -u demoone:password-placeholder

Example response:

{
    "object": "feed", 
    "url": "https://apis.sen.se/v2/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/", 
    "uid": "e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY", 
    "label": "Temperature", 
    "type": "temperature", 
    "node": "https://apis.sen.se/v2/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/", 
    "used": true, 
    "eventsUrl": "https://apis.sen.se/v2/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/events/", 
    "eventsModel": {
        "profile": {
            "required": false, 
            "type": "str"
        }, 
        "feedUid": {
            "required": true, 
            "type": "str"
        }, 
        "gatewayNodeUid": {
            "required": false, 
            "type": "str"
        }, 
        "dateServer": {
            "required": false, 
            "type": "datetime"
        }, 
        "geometry": {
            "type": {
                "required": false, 
                "type": "str"
            }, 
            "coordinates": {
                "required": false, 
                "type": [
                    {
                        "required": false, 
                        "type": "int"
                    }
                ]
            }
        }, 
        "data": {
            "centidegreeCelsius": {
                "required": true, 
                "type": "int"
            }
        }, 
        "signal": {
            "required": false, 
            "type": "int"
        }, 
        "dateEvent": {
            "required": true, 
            "type": "datetime"
        }, 
        "expiresAt": {
            "required": false, 
            "type": "datetime"
        }, 
        "version": {
            "required": false, 
            "type": "str"
        }, 
        "type": {
            "required": true, 
            "type": "str"
        }, 
        "payload": {
            "required": false, 
            "type": "str"
        }, 
        "nodeUid": {
            "required": false, 
            "type": "str"
        }
    }
}

Subscriptions

GET /subscriptions/
Synopsis:List a User Subscriptions.

Example (Python client):

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> sense.Subscription.list()

Example request (CURL):

curl https://apis.sen.se/v2/subscriptions/ \
     -u demoone:password-placeholder

Example response:

{
    "links": {
        "next": null, 
        "prev": null
    }, 
    "totalObjects": 1, 
    "object": "list", 
    "objects": [
        {
            "object": "subscription", 
            "url": "https://apis.sen.se/v2/subscriptions/PL7W4u6areYI9x1GAz4eF204PTWipoGN/", 
            "uid": "PL7W4u6areYI9x1GAz4eF204PTWipoGN", 
            "createdAt": "2015-06-24T13:39:53", 
            "updatedAt": "2015-06-24T13:39:53", 
            "label": "Subscription test", 
            "paused": true, 
            "subscribes": [
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/TeT75dqqCXtyp3JyYU2zWthzuG6nRZql/", 
                    "uid": "TeT75dqqCXtyp3JyYU2zWthzuG6nRZql", 
                    "label": "Motion", 
                    "type": "motion", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/xSXdRJoneu8TWQKRnYOi6VZe8nv6loG9/", 
                    "uid": "xSXdRJoneu8TWQKRnYOi6VZe8nv6loG9", 
                    "label": "Battery", 
                    "type": "battery", 
                    "used": true
                }, 
                {
                    "object": "feed", 
                    "url": "https://apis.sen.se/v2/feeds/7iEALPoZMPTvqCKVBKknqgkCcyrlhOt6/", 
                    "uid": "7iEALPoZMPTvqCKVBKknqgkCcyrlhOt6", 
                    "label": "Alert", 
                    "type": "alert", 
                    "used": true
                }
            ], 
            "publishes": [], 
            "resource": {
                "type": "subscription", 
                "slug": "subscription"
            }, 
            "gatewayUrl": "http://example.com/", 
            "geometry": null
        }
    ]
}
POST /subscriptions/
Synopsis:

Create a Subscription.

Form Parameters:
 
  • label – The name of this Subscription
  • gatewayUrl – The url where the Sen.se platform will POST events.
  • subscribes – List of Feeds that you have subscribed to.

Note

The subscribes parameter can be lists of:

  • feed UIDs
  • feed URLs
  • nested feed URLs

For example:

e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY
/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/
/nodes/Nf6QUJBWxsB9arukraSR9BfaRpx32QNS/feeds/temperature

Example (Python client):

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> sense.Subscription.create(
>>>     label="my subscription",
>>>     gatewayUrl="https://example.com/events/",
>>>     subscribes = ['e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY']
>>> )
Status Codes:
  • 200 OK – Return the Subscription object just created.
  • 401 Unauthorized – If you are not logged in as a user.
PUT /subscriptions/(uid)/
Synopsis:

Update a Subscription.

Parameters:
  • uid – Unique Subscription identifier.
Form Parameters:
 
  • label – The name of this Node as it appears on the Senseboard.
  • gatewayUrl – The url where the Sen.se platform will POST events.
  • subscribes – List of Feeds UIDs or URLs that the Node will be notified when there are new events.

Example (Python client):

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> subscription = sense.Subscription.retrieve('OHaVOdgyXKxzIGJfIwxjwtNbBPq0zr4T')
>>> subscription.gatewayUrl = 'https://example.com/another_endpoint/'
>>> subscription.save()
Status Codes:
  • 200 OK – Return the Node object that was just updated.
  • 401 Unauthorized – If you’re not logged in as a user.
DELETE /subscriptions/(uid)/
Synopsis:

Delete a Subscription.

Parameters:
  • uid – Unique Subscription identifier.

Example (Python client):

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> subscription = sense.Subscription.retrieve('OHaVOdgyXKxzIGJfIwxjwtNbBPq0zr4T')
>>> subscription.delete()

Example request (CURL):

curl https://apis.sen.se/v2/subscriptions/OHaVOdgyXKxzIGJfIwxjwtNbBPq0zr4T/ \
     -u demoone:password-placeholder \
    -X DELETE
Status Codes:

Persons

GET /persons/
Synopsis:The list of Persons defined in a User’s account.

Example (Python client):

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> persons = sense.Person.list()

Example request (CURL):

curl https://apis.sen.se/v2/persons/ \
     -u demoone:password-placeholder

Example response:

{
    "links": {
        "next": null, 
        "prev": null
    }, 
    "totalObjects": 6, 
    "object": "list", 
    "objects": [
        {
            "object": "person", 
            "uid": "GyVJHUH9xkpqP7HcIk5KKLLU1V9wnQMS", 
            "firstName": "George", 
            "lastName": "Wilson", 
            "email": "pascalyne@sen.se", 
            "phoneNumber": null, 
            "avatarUrl": "https://d6gl1inbman3n.cloudfront.net/img/avatars/m_22.png", 
            "gender": "m"
        }, 
        {
            "object": "person", 
            "uid": "IZWxzgG2P7t54QuKdoBOu5uwuFW4a4IS", 
            "firstName": "Martha", 
            "lastName": "", 
            "email": null, 
            "phoneNumber": null, 
            "avatarUrl": "https://d6gl1inbman3n.cloudfront.net/img/avatars/f_12.png", 
            "gender": "f"
        }, 
        {
            "object": "person", 
            "uid": "QGOVoTYSl4Ff6gfHot43lzg77MSk8LF9", 
            "firstName": "Judith", 
            "lastName": null, 
            "email": "", 
            "phoneNumber": "", 
            "avatarUrl": "https://d6gl1inbman3n.cloudfront.net/img/avatars/f_09.png", 
            "gender": "f"
        }, 
        {
            "object": "person", 
            "uid": "A9pUXlHCFgTFkAOQVLVzDmYuGEOs3odN", 
            "firstName": "Lucy", 
            "lastName": "", 
            "email": null, 
            "phoneNumber": null, 
            "avatarUrl": "https://d6gl1inbman3n.cloudfront.net/img/avatars/f_04.png", 
            "gender": "f"
        }, 
        {
            "object": "person", 
            "uid": "yvWpdYpT9ahNEDNZbpo7Vf1mGMHT3kg8", 
            "firstName": "Jeremy", 
            "lastName": "", 
            "email": null, 
            "phoneNumber": null, 
            "avatarUrl": "https://d6gl1inbman3n.cloudfront.net/img/avatars/m_16.png", 
            "gender": "m"
        }, 
        {
            "object": "person", 
            "uid": "rPjinhnTuLJQlIygockinviSYIOt6WhB", 
            "firstName": "Pascalyne", 
            "lastName": "", 
            "email": "pascalynewilson@gmail.com", 
            "phoneNumber": "+33617617688", 
            "avatarUrl": "https://d6gl1inbman3n.cloudfront.net/img/avatars/m_08.png", 
            "gender": "m"
        }
    ]
}
Status Codes:
  • 200 OK – The request has succeeded.

Events

GET /nodes/(uid)/feeds/(type)/events/
GET /feeds/(uid)/events/
Synopsis:

Get a collection of events from a Feed.

Parameters:
  • uid – Unique Node identifier
  • type – Feed type
Query Parameters:
 
  • limit (int) – Number of events returned by the query.
  • gt (str) – ISO format date, starting date of the collection (excluding).
  • lt (str) – ISO format date, ending date of the collection (excluding).
  • page (int) – Index of the page you are requesting (100 events per page).

Example (Python client):

>>> import sense
>>> sense.api_key = '__your_API_key__'
>>> feed = sense.Feed.retrieve('e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY')
>>> feed.events.list(limit=3)

Example request (CURL):

curl https://apis.sen.se/v2/feeds/e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY/events/?limit=3 \
     -u demoone:password-placeholder

Example response:

{
    "links": {
        "next": null, 
        "prev": null
    }, 
    "totalObjects": 3, 
    "object": "list", 
    "objects": [
        {
            "profile": "BedStandard", 
            "feedUid": "e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY", 
            "gatewayNodeUid": "K7Kcu7191qjjWdC1RF0f2clw0KsEp6M0", 
            "dateServer": "2016-02-20T16:25:19.046", 
            "geometry": {
                "type": "Point", 
                "coordinates": [
                    48.860782623291016, 
                    2.368262767791748
                ]
            }, 
            "data": {
                "centidegreeCelsius": 1902
            }, 
            "signal": -85, 
            "dateEvent": "2016-02-20T16:25:20", 
            "expiresAt": null, 
            "version": null, 
            "type": "temperature", 
            "payload": null, 
            "nodeUid": "Nf6QUJBWxsB9arukraSR9BfaRpx32QNS"
        }, 
        {
            "profile": "BedStandard", 
            "feedUid": "e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY", 
            "gatewayNodeUid": "K7Kcu7191qjjWdC1RF0f2clw0KsEp6M0", 
            "dateServer": "2016-02-20T16:22:19.422", 
            "geometry": {
                "type": "Point", 
                "coordinates": [
                    48.860782623291016, 
                    2.368262767791748
                ]
            }, 
            "data": {
                "centidegreeCelsius": 1900
            }, 
            "signal": -86, 
            "dateEvent": "2016-02-20T16:22:20", 
            "expiresAt": null, 
            "version": null, 
            "type": "temperature", 
            "payload": null, 
            "nodeUid": "Nf6QUJBWxsB9arukraSR9BfaRpx32QNS"
        }, 
        {
            "profile": "BedStandard", 
            "feedUid": "e9wyk1Xb42EH3mMhucR0PC7PjgUWmFMY", 
            "gatewayNodeUid": "K7Kcu7191qjjWdC1RF0f2clw0KsEp6M0", 
            "dateServer": "2016-02-20T16:19:19.797", 
            "geometry": {
                "type": "Point", 
                "coordinates": [
                    48.860782623291016, 
                    2.368262767791748
                ]
            }, 
            "data": {
                "centidegreeCelsius": 1900
            }, 
            "signal": -87, 
            "dateEvent": "2016-02-20T16:19:20", 
            "expiresAt": null, 
            "version": null, 
            "type": "temperature", 
            "payload": null, 
            "nodeUid": "Nf6QUJBWxsB9arukraSR9BfaRpx32QNS"
        }
    ]
}
POST /nodes/(uid)/feeds/(type)/events/
POST /feeds/(uid)/events/
Synopsis:

Validate and forward events to the Sen.se platform.

Parameters:
  • uid – Unique Node identifier
  • type – Feed type
Status Codes:

Events Models

See Events models.

System events

See System events.

Last update: 02/20/2016 5:26 p.m. (CET)