user.org.tag.cloud
The user.org.tag.cloud command is used to generate a tag cloud for users.
TR50 Request
{
"cmd": {
"command": "user.org.tag.cloud",
"params": {
"tags": ["tag1", "tag2"],
"ids": [],
"keys": []
}
}
}
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. |
ids |
Array |
|
An array of ids. |
keys |
Array |
|
An array of keys. |
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": [
{
"tag1": 8
},
{
"tag2": 3
}
]
}
}
}
Response Result Parameters
Name |
Type |
Description |
---|---|---|
result |
Array |
An array of objects. Each object will be a tag and the number of users that have that tag. In the above example, 8 users have tag1, and 3 users have tag2. |