APIs

GET Tags List

Returns the tag list

Call URL

GET api.commander1.com/api/1.0/manage/container/tags/list?id_site=X&access_token=Y&id_container=Z

Call parameters

URL PARAMETER
TYPE
MANDATORY
DESCRIPTION
id_site
Integer
Yes
Client site identifier
access_token
Alphanum
Yes
Caller’s security identifier
id_container
Integer
No
Container identifier

Return code:

HTTP CODE
MESSAGE
DESCRIPTION
200
OK
The request went through, the result is in the answer’s body
400
Bad Request
The parameters are not ok or mandatory parameters are missing
401
Unauthorized
The security token does not match the site_id or the container_id
404
Not Found
A container identifier for the site_id parameter was not found
500
Internal Server Error
Internal server error

Response format :

The response is in JSON format.
FIELD
TYPE
ALWAYS PRESENT ?
DESCRIPTION
idSite
Integer
Yes
Site identifier
containers
Array
Yes
Array containing the container list and their label
containers/id
Integer
Yes
Container identifier
containers/label
String
Yes
Container label
tags
Array
Yes
Array containing the tag list and container label
tags/id
Integer
No
Tag identifier
tags/label
String
No
Tag label
GET

Response example

1
{
2
"idSite":26,
3
"containers":[
4
{
5
"id":1,
6
"label":"Container1",
7
"tags":[
8
{
9
"id":1,
10
"label":"Click&Site Tracking"
11
},
12
{
13
"id":3,
14
"label":"Tagcommander"
15
}
16
]
17
}
18
]
Copied!
Last modified 1yr ago
Export as PDF
Copy link