-
Notifications
You must be signed in to change notification settings - Fork 0
Tag Management API: All Tags
Gene Stevens edited this page Mar 10, 2012
·
2 revisions
For listing all tags provisioned in the system.
- Format: /tags/items
- Verbs: GET
curl -v -X GET \
-H 'X-ActiveTag-AccessToken: 16cc9f55-8c34-433e-af7a-0054884f7648' \
https://api.taglabsinc.com/tags/items
> GET /tags/items HTTP/1.1
> User-Agent: curl/7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
> Host: api.taglabsinc.com
> Accept: */*
> X-ActiveTag-AccessToken: 16cc9f55-8c34-433e-af7a-0054884f7648
< Date: Sat, 10 Dec 2011 09:40:39 GMT
< Server: Apache
< Content-Length: 37
< Accept-Ranges: bytes
< Content-Type: application/json
<
[
"item-0002",
"item-0001",
"item-0003"
]
Retrieves a list of every stored item in our system, keyed off the Short Item IDs that we use when printing tags. For example, a QR code will have this id in its URL. The simple JSON array returned is meant to be used in conjunction with the Individual Tag API for further action if necessary.
curl -v -X GET \
-H 'X-ActiveTag-AccessToken: 16cc9f55-8c34-433e-af7a-0054884f7648'
https://api.taglabsinc.com/tags/short_items
> GET /tags/short_items HTTP/1.1
> User-Agent: curl/7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
> Host: api.taglabsinc.com
> Accept: */*
> X-ActiveTag-AccessToken: 16cc9f55-8c34-433e-af7a-0054884f7648
< Date: Sat, 10 Dec 2011 09:40:39 GMT
< Server: Apache
< Content-Length: 37
< Accept-Ranges: bytes
< Content-Type: application/json
<
[
"ab12",
"cd34",
"ef56"
]