> ## Documentation Index
> Fetch the complete documentation index at: https://docs.minestorecms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Categories List

> Retrieves a hierarchical list of categories along with their subcategories. 
The list is filtered to include only categories that are not deleted and are enabled.
Each category includes its image URL, description, and URL, as well as a nested list of its active subcategories.




## OpenAPI

````yaml GET /categories/get
openapi: 3.0.0
info:
  title: MineStoreCMS REST API
  description: Documentation for MineStoreCMS Frontend REST API.
  version: 3.8.7
servers:
  - url: https://v3.minestorecms.com/api
    description: Example URL of Demo Server
security: []
tags: []
paths:
  /categories/get:
    get:
      tags:
        - categories
      summary: Retrieve a list of categories and subcategories
      description: >
        Retrieves a hierarchical list of categories along with their
        subcategories. 

        The list is filtered to include only categories that are not deleted and
        are enabled.

        Each category includes its image URL, description, and URL, as well as a
        nested list of its active subcategories.
      responses:
        '200':
          description: Successfully retrieved categories
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    idx:
                      type: integer
                      example: 1
                      description: Unique identifier of the category
                    name:
                      type: string
                      example: Ranks
                      description: Name of the category
                    active:
                      type: boolean
                      example: true
                      description: Indicates if the category is active
                    description:
                      type: string
                      example: Available Ranks for Store.
                      description: Description of the category
                    url:
                      type: string
                      example: /categories/ranks
                      description: URL slug for the category
                    img:
                      type: string
                      nullable: true
                      example: /img/categories/1.png
                      description: URL of the category image, or null if not set
                    subcategories:
                      type: array
                      items:
                        type: object
                        properties:
                          idx:
                            type: integer
                            example: 2
                            description: Unique identifier of the subcategory
                          name:
                            type: string
                            example: Survival Ranks
                            description: Name of the subcategory
                          active:
                            type: boolean
                            example: true
                            description: Indicates if the subcategory is active
                          description:
                            type: string
                            example: Ranks for Survival Server.
                            description: Description of the subcategory
                          url:
                            type: string
                            example: /categories/ranks/survival
                            description: URL slug for the subcategory
                          img:
                            type: string
                            nullable: true
                            example: /img/categories/2.png
                            description: URL of the subcategory image, or null if not set
        '401':
          description: Unauthorized access, invalid or missing access token
      deprecated: false

````