Skip to main content

Documentation

IMPORTANT

This is the outdated SI-documentation which will be adapted soon. A huge part may be obsolete!

Tags Listing

Tags Listing

In this section, we will briefly explain the REST API to retrieve the Tags Listing.

This REST API call allows requester to list all tags created on the site. To retrieve the list of tags, requester will need to send a GET request to this following url:

http://site.com/index.php?option=com_easydiscuss&view=tags&format=json&tmpl=component

GET Parameters

The following are the available parameters when a GET is made to this API call:

  • sort *(optional)
    This sort parameter is optional and the default value is asc.

Response

Upon a successful request, EasyDiscuss system will return a response in a form of JSON to the requester.

The successful request response will looks similar as below:

{
  "tags": [
    {
      "id": "8",
      "permalink": "http://easydiscuss.com/index.php?option=com_easydiscuss&view=tags&layout=listings&id=8&tmpl=component&format=json&Itemid=118",
      "title": "Automative",
      "alias": "automative",
      "created": "2016-04-19 05:13:31",
      "posts": "0"
    },
    {
      "id": "2",
      "permalink": "http://easydiscuss.com/index.php?option=com_easydiscuss&view=tags&layout=listings&id=2&tmpl=component&format=json&Itemid=118",
      "title": "Automotive",
      "alias": "automotive",
      "created": "2016-04-15 18:57:13",
      "posts": "2"
    }
  ]
}
We use cookies
We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience. You can decide whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.