GET category/list/:id/categories

List Joomla Content Sub-Categories by Parent ID

This method requires that a persistent HTTP session can be maintained between the client and server. Super Admin access is required.

Resource URL

https://yourdomain.com/api/v1/category/list/:id/categories

Resource Information

Option Description
Response formats JSON
Requires authentication Yes - Super Admin
Rate limited YES

Parameters

Name Details
id
  • required
  • integer

Example Request

GET https://yourdomain.com/api/v1/content/list/7/categories

Example Result

JSON Response

{
  "categories": [
    {
      "id": "13",
      "asset_id": "218",
      "parent_id": "7",
      "lft": "16",
      "rgt": "17",
      "level": "2",
      "extension": "com_content",
      "title": "Editorials",
      "alias": "editorials",
      "description": "",
      "published": "1",
      "checked_out": "0",
      "checked_out_time": "0000-00-00 00:00:00",
      "access": "1",
      "params": "{}",
      "metadesc": "",
      "metakey": "",
      "metadata": "{}",
      "created_user_id": "123",
      "created_time": "2012-01-14 18:32:17",
      "modified_user_id": "123",
      "modified_time": "2014-01-03 00:49:31",
      "hits": "0",
      "language": "*",
      "numitems": null,
      "childrennumitems": null,
      "slug": "13:editorials",
      "assets": null,
      "note": "",
      "path": "blog\/editorials",
      "version": "1",
      "_rightsibling": {
        "id": "14",
        "asset_id": "219",
        "parent_id": "7",
        "lft": "18",
        "rgt": "19",
        "level": "2",
        "extension": "com_content",
        "title": "Guest Authors",
        "alias": "guest-authors",
        "description": "",
        "published": "1",
        "checked_out": "0",
        "checked_out_time": "0000-00-00 00:00:00",
        "access": "1",
        "params": "{}",
        "metadesc": "",
        "metakey": "",
        "metadata": "{}",
        "created_user_id": "123",
        "created_time": "2012-01-14 18:32:17",
        "modified_user_id": "43",
        "modified_time": "2014-01-03 00:49:31",
        "hits": "0",
        "language": "*",
        "numitems": null,
        "childrennumitems": null,
        "slug": "14:guest-authors",
        "assets": null,
        "note": "",
        "path": "blog\/guest-authors",
        "version": "1",
        "_rightsibling": {
          "id": "15",
          "asset_id": "220",
          "parent_id": "7",
          "lft": "20",
          "rgt": "21",
          "level": "2",
          "extension": "com_content",
          "title": "News",
          "alias": "news",
          "description": "",
          "published": "1",
          "checked_out": "0",
          "checked_out_time": "0000-00-00 00:00:00",
          "access": "1",
          "params": "{}",
          "metadesc": "",
          "metakey": "",
          "metadata": "{}",
          "created_user_id": "62",
          "created_time": "2012-01-14 18:32:17",
          "modified_user_id": "123",
          "modified_time": "2014-01-03 00:49:31",
          "hits": "0",
          "language": "*",
          "numitems": null,
          "childrennumitems": null,
          "slug": "15:news",
          "assets": null,
          "note": "",
          "path": "blog\/news",
          "version": "1",
          "_rightsibling": {
            "id": "16",
            "asset_id": "221",
            "parent_id": "7",
            "lft": "22",
            "rgt": "23",
            "level": "2",
            "extension": "com_content",
            "title": "Reviews",
            "alias": "reviews",
            "description": "",
            "published": "1",
            "checked_out": "0",
            "checked_out_time": "0000-00-00 00:00:00",
            "access": "1",
            "params": "{}",
            "metadesc": "",
            "metakey": "",
            "metadata": "{}",
            "created_user_id": "62",
            "created_time": "2012-01-14 18:32:17",
            "modified_user_id": "43",
            "modified_time": "2014-01-03 00:49:31",
            "hits": "0",
            "language": "*",
            "numitems": null,
            "childrennumitems": null,
            "slug": "16:reviews",
            "assets": null,
            "note": "",
            "path": "blog\/reviews",
            "version": "1",
            "_rightsibling": {
              "id": "17",
              "asset_id": "222",
              "parent_id": "7",
              "lft": "24",
              "rgt": "25",
              "level": "2",
              "extension": "com_content",
              "title": "Updates",
              "alias": "updates",
              "description": "",
              "published": "1",
              "checked_out": "0",
              "checked_out_time": "0000-00-00 00:00:00",
              "access": "1",
              "params": "{}",
              "metadesc": "",
              "metakey": "",
              "metadata": "{}",
              "created_user_id": "123",
              "created_time": "2012-01-14 18:32:17",
              "modified_user_id": "123",
              "modified_time": "2014-01-03 00:49:31",
              "hits": "0",
              "language": "*",
              "numitems": null,
              "childrennumitems": null,
              "slug": "17:updates",
              "assets": null,
              "note": "",
              "path": "blog\/updates",
              "version": "1"
            }
          }
        }
      }
    },
    {
      "id": "14",
      "asset_id": "219",
      "parent_id": "7",
      "lft": "18",
      "rgt": "19",
      "level": "2",
      "extension": "com_content",
      "title": "Guest Authors",
      "alias": "guest-authors",
      "description": "",
      "published": "1",
      "checked_out": "0",
      "checked_out_time": "0000-00-00 00:00:00",
      "access": "1",
      "params": "{}",
      "metadesc": "",
      "metakey": "",
      "metadata": "{}",
      "created_user_id": "123",
      "created_time": "2012-01-14 18:32:17",
      "modified_user_id": "43",
      "modified_time": "2014-01-03 00:49:31",
      "hits": "0",
      "language": "*",
      "numitems": null,
      "childrennumitems": null,
      "slug": "14:guest-authors",
      "assets": null,
      "note": "",
      "path": "blog\/guest-authors",
      "version": "1",
      "_rightsibling": {
        "id": "15",
        "asset_id": "220",
        "parent_id": "7",
        "lft": "20",
        "rgt": "21",
        "level": "2",
        "extension": "com_content",
        "title": "News",
        "alias": "news",
        "description": "",
        "published": "1",
        "checked_out": "0",
        "checked_out_time": "0000-00-00 00:00:00",
        "access": "1",
        "params": "{}",
        "metadesc": "",
        "metakey": "",
        "metadata": "{}",
        "created_user_id": "123",
        "created_time": "2012-01-14 18:32:17",
        "modified_user_id": "43",
        "modified_time": "2014-01-03 00:49:31",
        "hits": "0",
        "language": "*",
        "numitems": null,
        "childrennumitems": null,
        "slug": "15:news",
        "assets": null,
        "note": "",
        "path": "blog\/news",
        "version": "1",
        "_rightsibling": {
          "id": "16",
          "asset_id": "221",
          "parent_id": "7",
          "lft": "22",
          "rgt": "23",
          "level": "2",
          "extension": "com_content",
          "title": "Reviews",
          "alias": "reviews",
          "description": "",
          "published": "1",
          "checked_out": "0",
          "checked_out_time": "0000-00-00 00:00:00",
          "access": "1",
          "params": "{}",
          "metadesc": "",
          "metakey": "",
          "metadata": "{}",
          "created_user_id": "62",
          "created_time": "2012-01-14 18:32:17",
          "modified_user_id": "43",
          "modified_time": "2014-01-03 00:49:31",
          "hits": "0",
          "language": "*",
          "numitems": null,
          "childrennumitems": null,
          "slug": "16:reviews",
          "assets": null,
          "note": "",
          "path": "blog\/reviews",
          "version": "1",
          "_rightsibling": {
            "id": "17",
            "asset_id": "222",
            "parent_id": "7",
            "lft": "24",
            "rgt": "25",
            "level": "2",
            "extension": "com_content",
            "title": "Updates",
            "alias": "updates",
            "description": "",
            "published": "1",
            "checked_out": "0",
            "checked_out_time": "0000-00-00 00:00:00",
            "access": "1",
            "params": "{}",
            "metadesc": "",
            "metakey": "",
            "metadata": "{}",
            "created_user_id": "123",
            "created_time": "2012-01-14 18:32:17",
            "modified_user_id": "43",
            "modified_time": "2014-01-03 00:49:31",
            "hits": "0",
            "language": "*",
            "numitems": null,
            "childrennumitems": null,
            "slug": "17:updates",
            "assets": null,
            "note": "",
            "path": "blog\/updates",
            "version": "1"
          }
        }
      }
    },
    {
      "id": "15",
      "asset_id": "220",
      "parent_id": "7",
      "lft": "20",
      "rgt": "21",
      "level": "2",
      "extension": "com_content",
      "title": "News",
      "alias": "news",
      "description": "",
      "published": "1",
      "checked_out": "0",
      "checked_out_time": "0000-00-00 00:00:00",
      "access": "1",
      "params": "{}",
      "metadesc": "",
      "metakey": "",
      "metadata": "{}",
      "created_user_id": "123",
      "created_time": "2012-01-14 18:32:17",
      "modified_user_id": "43",
      "modified_time": "2014-01-03 00:49:31",
      "hits": "0",
      "language": "*",
      "numitems": null,
      "childrennumitems": null,
      "slug": "15:news",
      "assets": null,
      "note": "",
      "path": "blog\/news",
      "version": "1",
      "_rightsibling": {
        "id": "16",
        "asset_id": "221",
        "parent_id": "7",
        "lft": "22",
        "rgt": "23",
        "level": "2",
        "extension": "com_content",
        "title": "Reviews",
        "alias": "reviews",
        "description": "",
        "published": "1",
        "checked_out": "0",
        "checked_out_time": "0000-00-00 00:00:00",
        "access": "1",
        "params": "{}",
        "metadesc": "",
        "metakey": "",
        "metadata": "{}",
        "created_user_id": "62",
        "created_time": "2012-01-14 18:32:17",
        "modified_user_id": "43",
        "modified_time": "2014-01-03 00:49:31",
        "hits": "0",
        "language": "*",
        "numitems": null,
        "childrennumitems": null,
        "slug": "16:reviews",
        "assets": null,
        "note": "",
        "path": "blog\/reviews",
        "version": "1",
        "_rightsibling": {
          "id": "17",
          "asset_id": "222",
          "parent_id": "7",
          "lft": "24",
          "rgt": "25",
          "level": "2",
          "extension": "com_content",
          "title": "Updates",
          "alias": "updates",
          "description": "",
          "published": "1",
          "checked_out": "0",
          "checked_out_time": "0000-00-00 00:00:00",
          "access": "1",
          "params": "{}",
          "metadesc": "",
          "metakey": "",
          "metadata": "{}",
          "created_user_id": "62",
          "created_time": "2012-01-14 18:32:17",
          "modified_user_id": "43",
          "modified_time": "2014-01-03 00:49:31",
          "hits": "0",
          "language": "*",
          "numitems": null,
          "childrennumitems": null,
          "slug": "17:updates",
          "assets": null,
          "note": "",
          "path": "blog\/updates",
          "version": "1"
        }
      }
    },
    {
      "id": "16",
      "asset_id": "221",
      "parent_id": "7",
      "lft": "22",
      "rgt": "23",
      "level": "2",
      "extension": "com_content",
      "title": "Reviews",
      "alias": "reviews",
      "description": "",
      "published": "1",
      "checked_out": "0",
      "checked_out_time": "0000-00-00 00:00:00",
      "access": "1",
      "params": "{}",
      "metadesc": "",
      "metakey": "",
      "metadata": "{}",
      "created_user_id": "62",
      "created_time": "2012-01-14 18:32:17",
      "modified_user_id": "43",
      "modified_time": "2014-01-03 00:49:31",
      "hits": "0",
      "language": "*",
      "numitems": null,
      "childrennumitems": null,
      "slug": "16:reviews",
      "assets": null,
      "note": "",
      "path": "blog\/reviews",
      "version": "1",
      "_rightsibling": {
        "id": "17",
        "asset_id": "222",
        "parent_id": "7",
        "lft": "24",
        "rgt": "25",
        "level": "2",
        "extension": "com_content",
        "title": "Updates",
        "alias": "updates",
        "description": "",
        "published": "1",
        "checked_out": "0",
        "checked_out_time": "0000-00-00 00:00:00",
        "access": "1",
        "params": "{}",
        "metadesc": "",
        "metakey": "",
        "metadata": "{}",
        "created_user_id": "123",
        "created_time": "2012-01-14 18:32:17",
        "modified_user_id": "123",
        "modified_time": "2014-01-03 00:49:31",
        "hits": "0",
        "language": "*",
        "numitems": null,
        "childrennumitems": null,
        "slug": "17:updates",
        "assets": null,
        "note": "",
        "path": "blog\/updates",
        "version": "1"
      }
    },
    {
      "id": "17",
      "asset_id": "222",
      "parent_id": "7",
      "lft": "24",
      "rgt": "25",
      "level": "2",
      "extension": "com_content",
      "title": "Updates",
      "alias": "updates",
      "description": "",
      "published": "1",
      "checked_out": "0",
      "checked_out_time": "0000-00-00 00:00:00",
      "access": "1",
      "params": "{}",
      "metadesc": "",
      "metakey": "",
      "metadata": "{}",
      "created_user_id": "123",
      "created_time": "2012-01-14 18:32:17",
      "modified_user_id": "123",
      "modified_time": "2014-01-03 00:49:31",
      "hits": "0",
      "language": "*",
      "numitems": null,
      "childrennumitems": null,
      "slug": "17:updates",
      "assets": null,
      "note": "",
      "path": "blog\/updates",
      "version": "1"
    }
  ],
  "error": false,
  "status": 200
}

Response Headers

HTTP/1.1 200 OK
Date: Wed, 23 Dec 2015 01:24:55 GMT
Server: Apache
X-Powered-By: PHP/5.4.39
Access-Control-Allow-Origin: *
Joomla-Sessionid: 9f862b999999ffe35c1999991999998
Access-Control-Allow-Headers: X-Requested-With, Origin, Content-Type, token, dlid, nonce
Access-Control-Allow-Methods: PUT, GET, POST, DELETE, OPTIONS
Keep-Alive: timeout=5, max=50
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: application/json