DiscoverText API - View Project Tag Cloud

GET
https://api.discovertext.com/api/v1/projects/{project_id}/tagcloud
Return Value: A project tag cloud and it's building status.
{
    "id": {project_id},
    "cloudType": "{single, bigram, or trigram}",
    "href": "{link to this item}",
    "status": {                                     // optional, only present if tag cloud is building
        "status": "{processing_status}",
        "completionPercentage": {percent complete, numeric}
    },
    "terms": [
        {
            "term": "{the term}",
            "count": {numeric term count}
        }, ....
    ]
}        

Optional parameters include:

  • limit: maximum number of items to return (from 1 to 500)
  • sort: sort by term or count, ascending or descending (e.g. count:d)
  • terms: term type (one of single, bigram, or trigram