GET
/
categories
/
get
curl --request GET \
  --url https://v3.minestorecms.com/api/categories/get
[
  {
    "idx": 1,
    "name": "Ranks",
    "active": true,
    "description": "Available Ranks for Store.",
    "url": "/categories/ranks",
    "img": "/img/categories/1.png",
    "subcategories": [
      {
        "idx": 2,
        "name": "Survival Ranks",
        "active": true,
        "description": "Ranks for Survival Server.",
        "url": "/categories/ranks/survival",
        "img": "/img/categories/2.png"
      }
    ]
  }
]

Response

200
application/json
Successfully retrieved categories
idx
integer

Unique identifier of the category

Example:

1

name
string

Name of the category

Example:

"Ranks"

active
boolean

Indicates if the category is active

Example:

true

description
string

Description of the category

Example:

"Available Ranks for Store."

url
string

URL slug for the category

Example:

"/categories/ranks"

img
string | null

URL of the category image, or null if not set

Example:

"/img/categories/1.png"

subcategories
object[]