APPush v0.1 documentation

This Page

Tag Resource

The tag resource returns a list of devices tagged with the given tag name.

GET

Retrieves a list of devices with a given tag.

Authentication Required

  • Root Token
  • Root Secret

URL

Result

  • 200 - OK. The request was completed.
  • 404 - Not Found. The tag name was not found

Example:

$ curl -i -u I6ieYiJtbH3YPriyR3AK3VZtgSP:48907eb5efbffe9ee23e62e2b9273929  https://appush.com/api/application/I6ieYiJtbH3YPriyR3AK3VZtgSP/tag/foo
HTTP/1.1 200 OK
Server: nginx/0.7.62
Date: Fri, 13 Nov 2009 07:58:53 GMT
Content-Type: application/json
Connection: keep-alive
Keep-Alive: timeout=20
Content-Length: 88

{"devices":["3734cc9af9376b8cba3704bccbd7c5c7f0901476d07c3247ead2b55f479fbd76"]}