{"__v":2,"_id":"564b891b68ec9a17004e721f","category":{"__v":14,"_id":"55773ae4a042551900b002d7","pages":["55776b78a042551900b0034d","564b87fd7a18b00d00a21bf6","564b882d82c0c90d00ea8b69","564b8859d768500d0088b715","564b886cd768500d0088b718","564b888982c0c90d00ea8b6b","564b889b68ec9a17004e721c","564b88b98341ec0d00a7d589","564b88d382c0c90d00ea8b6d","564b891b68ec9a17004e721f","564b89280a68360d00a3a53d","564b894b7a18b00d00a21bfb","564b8962844edc170025d0af","564b897d68ec9a17004e7222"],"project":"55773a5ba042551900b002cb","version":"55773a5ba042551900b002ce","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-06-09T19:13:40.679Z","from_sync":false,"order":6,"slug":"content-api","title":"Content API"},"editedParams":true,"editedParams2":true,"parentDoc":null,"project":"55773a5ba042551900b002cb","user":"546d17e2eb9cfd1400dd4529","version":{"__v":17,"_id":"55773a5ba042551900b002ce","project":"55773a5ba042551900b002cb","createdAt":"2015-06-09T19:11:23.764Z","releaseDate":"2015-06-09T19:11:23.764Z","categories":["55773a5ca042551900b002cf","55773a6ce6063e0d00481380","55773ab007e7110d001043ec","55773abaa042551900b002d5","55773ac207e7110d001043ed","55773acb07e7110d001043ee","55773ad3a042551900b002d6","55773adce6063e0d00481383","55773ae4a042551900b002d7","55773af307e7110d001043ef","55773af907e7110d001043f0","55773b0407e7110d001043f1","563a4f7ad25e8919005f3f39","563a4fcaa19edf0d00972321","564a70dc4cd0521700523edf","564b797bcc472d0d00da9435","564b855b766d4923004e1fd1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Motherboard","version_clean":"1.0.0","version":"1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T20:07:55.492Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"get","results":{"codes":[{"name":"","code":"{\n   \"code\":200,\n   \"status\":\"success\",\n   \"data\":[\n      {\n         \"cat_name\":\"Age Group\",\n         \"cat_id\":56,\n         \"cat_parent_id\":0,\n         \"cat_order\":1\n      },\n      {\n         \"cat_name\":\"Anti-Doping\",\n         \"cat_id\":53,\n         \"cat_parent_id\":0,\n         \"cat_order\":2\n      }\n   ]\n}","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"56fd678c5a08190e00084f06","ref":"","in":"query","required":false,"desc":"The parent category to filter results","default":"","type":"int","name":"cat_parent_id"},{"_id":"56fd678c5a08190e00084f05","ref":"","in":"query","required":false,"desc":"Whether to show only top level categories","default":"true","type":"boolean","name":"child_categories"}],"url":"/content/news/categories"},"isReference":true,"order":11,"body":"The **Article Categories** method returns a list of cat_ids that may be used in filtering of all article methods via the category_id parameter.\n\nYou may filter via cat_parent_id and child_categories to restrict only to categories of interest,","excerpt":"","slug":"article-categories","type":"endpoint","title":"Article Categories"}

getArticle Categories


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

cat_parent_id:
integer
The parent category to filter results
child_categories:
booleantrue
Whether to show only top level categories

Result Format


Documentation

The **Article Categories** method returns a list of cat_ids that may be used in filtering of all article methods via the category_id parameter. You may filter via cat_parent_id and child_categories to restrict only to categories of interest,

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}