{"_id":"564b897d68ec9a17004e7222","project":"55773a5ba042551900b002cb","editedParams":true,"parentDoc":null,"category":{"_id":"55773ae4a042551900b002d7","pages":["55776b78a042551900b0034d","564b87fd7a18b00d00a21bf6","564b882d82c0c90d00ea8b69","564b8859d768500d0088b715","564b886cd768500d0088b718","564b888982c0c90d00ea8b6b","564b889b68ec9a17004e721c","564b88b98341ec0d00a7d589","564b88d382c0c90d00ea8b6d","564b891b68ec9a17004e721f","564b89280a68360d00a3a53d","564b894b7a18b00d00a21bfb","564b8962844edc170025d0af","564b897d68ec9a17004e7222"],"project":"55773a5ba042551900b002cb","version":"55773a5ba042551900b002ce","__v":14,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-06-09T19:13:40.679Z","from_sync":false,"order":6,"slug":"content-api","title":"Content API"},"editedParams2":true,"__v":1,"version":{"_id":"55773a5ba042551900b002ce","project":"55773a5ba042551900b002cb","__v":18,"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","59cd4b81935249001c77c48e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Motherboard","version_clean":"1.0.0","version":"1"},"user":"546d17e2eb9cfd1400dd4529","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T20:09:33.436Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","examples":{"codes":[]},"method":"get","results":{"codes":[{"name":"","code":"{\n   \"code\":200,\n   \"status\":\"success\",\n   \"data\":[\n      {\n         \"cat_name\":\"Athletes\",\n         \"cat_id\":64,\n         \"cat_parent_id\":0,\n         \"cat_order\":1\n      },\n      {\n         \"cat_name\":\"Africa\",\n         \"cat_id\":291,\n         \"cat_parent_id\":290,\n         \"cat_order\":1\n      },\n      {\n         \"cat_name\":\"Assessment Forms\",\n         \"cat_id\":430,\n         \"cat_parent_id\":74,\n         \"cat_order\":1\n      }\n   ]\n}","language":"json","status":200}]},"auth":"required","params":[{"_id":"56fdfc8ad393740e0080f3e0","ref":"","in":"query","required":false,"desc":"The parent category to filter results","default":"","type":"int","name":"cat_parent_id"},{"_id":"56fdfc8ad393740e0080f3df","ref":"","in":"query","required":false,"desc":"Whether to show only top level categories","default":"","type":"boolean","name":"child_categories"}],"url":"/content/downloads/categories"},"isReference":true,"order":13,"body":"The **Download Categories** method returns a list of cat_ids that may be used in filtering of all download 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":"download-categories","type":"endpoint","title":"Download Categories"}

getDownload Categories


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

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

Result Format


Documentation

The **Download Categories** method returns a list of cat_ids that may be used in filtering of all download 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 }}