/axios/topics

POST /api/axios/topics

Price: 5 credits

List the whole Axios topic catalogue with the subtopics filed under each topic. Every topic and subtopic carries its identifier, slug, display name, page title, description, navigation position and whether it appears in the site navigation.

How to use it

List the Axios topic catalogue with its subtopics. count says how many topics to return. Each item has id, alias (the URL slug), name, page_title, description, icon, is_local, nav_position, show_in_nav and subtopics[] with the same fields plus topic_id and sponsor. Feed the id values into axios/topics/articles as topic_ids or subtopic_ids. Only the topics that head the site navigation carry nav_position, and only a minority of topics own subtopics — the rest come back with an empty subtopics[] and are still valid topic_ids. Three aliases — business, health and sports — each name two different topics, an Axios Local one and a national one told apart by is_local, so resolve a topic by id and never by alias.

Parameters

Request body

Response

Errors

Response headers