Skip to main content

Retrieves a list of categories

GET 

/categories.json

Retrieves a list of categories

Request

Query Parameters

    include_subcategories boolean

    Possible values: [true]

Responses

success response

Schema
    category_list objectrequired
    can_create_category booleanrequired
    can_create_topic booleanrequired
    categories object[]required
  • Array [
  • id integerrequired
    name stringrequired
    color stringrequired
    text_color stringrequired
    slug stringrequired
    topic_count integerrequired
    post_count integerrequired
    position integerrequired
    description stringnullrequired
    description_text stringnullrequired
    description_excerpt stringnullrequired
    topic_url stringnullrequired
    read_restricted booleanrequired
    permission integerrequired
    notification_level integerrequired
    can_edit booleanrequired
    topic_template stringnullrequired
    has_children booleanrequired
    subcategory_count integernullrequired
    sort_order stringnullrequired
    sort_ascending stringnullrequired
    show_subcategory_list booleanrequired
    num_featured_topics integerrequired
    default_view stringnullrequired
    subcategory_list_style stringrequired
    default_top_period stringrequired
    default_list_filter stringrequired
    minimum_required_tags integerrequired
    navigate_to_first_post_after_read booleanrequired
    topics_day integerrequired
    topics_week integerrequired
    topics_month integerrequired
    topics_year integerrequired
    topics_all_time integerrequired
    is_uncategorized booleanrequired
    subcategory_ids undefined[]required
    subcategory_list undefined[]required
    uploaded_logo stringnullrequired
    uploaded_logo_dark stringnullrequired
    uploaded_background stringnullrequired
    uploaded_background_dark stringnullrequired
  • ]
Loading...