user.org.tag.cloud
The user.org.tag.cloud command is used to generate a users tag cloud. Filtering by tags and/or keys will generate a tag cloud containing the different tags associated to the request params (tags/keys). For more detail use cases, see thing.tag.cloud.
TR50 Request
{
"cmd": {
"command": "user.org.tag.cloud",
"params": {
"tags": ["tag1", "tag2"]
}
}
}
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
tags | Array | An array of tags. The result will be limited to the tags associated with users that already have the indicated tags. |
TR50 Response
If the command is sent successfully a success message and the users access details are returned. Otherwise, an error and error message will be returned.
{
"cmd": {
"success": true,
"params": {
"result": [
{
"tag3": 2
},
{
"tag4": 1
}
]
}
}
}
Response Result Parameters
Name | Type | Description |
---|---|---|
result | Array | An array of objects. Each object will list the tags count associated to the input tags and/or keys. In the above example, 2 users has tag3 along with tag1 or tag2, and 1 user has tag4 along with tag1 or tag2. |