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"
    }
  ]
}