> ## 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.

# Category Packages

> This endpoint retrieves details of a specific category, including its items and subcategories. It also handles limits, discounts, and custom price options for the items.



## OpenAPI

````yaml POST /categories/get/{url}
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/{url}:
    post:
      tags:
        - categories
      summary: Retrieve category details with items and subcategories
      description: >-
        This endpoint retrieves details of a specific category, including its
        items and subcategories. It also handles limits, discounts, and custom
        price options for the items.
      parameters:
        - name: url
          in: path
          required: true
          description: The URL or identifier of the category to retrieve
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  category:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 1
                      name:
                        type: string
                        example: Electronics
                      comparison:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 101
                            name:
                              type: string
                              example: Price
                            description:
                              type: string
                              example: Price comparison
                            type:
                              type: string
                              example: price
                            sorting:
                              type: integer
                              example: 1
                  subcategories:
                    type: array
                    items:
                      type: object
                      properties:
                        category:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 2
                            name:
                              type: string
                              example: Survival
                            comparison:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                    example: 201
                                  name:
                                    type: string
                                    example: Brand
                                  description:
                                    type: string
                                    example: Brand comparison
                                  type:
                                    type: string
                                    example: brand
                                  sorting:
                                    type: integer
                                    example: 2
                        items:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                                example: MVP Rank
                              price:
                                type: number
                                format: float
                                example: 299.99
                              discount:
                                type: number
                                format: float
                                example: 10
                              active:
                                type: boolean
                                example: true
                              is_subs:
                                type: boolean
                                example: false
                              custom_price:
                                type: boolean
                                example: false
                              min_price:
                                type: number
                                format: float
                                example: 250
                              quantityGlobalLimit:
                                type: integer
                                example: 100
                              quantityGlobalCurrentLimit:
                                type: integer
                                example: 50
                              quantityUserLimit:
                                type: integer
                                example: 5
                              quantityUserCurrentLimit:
                                type: integer
                                example: 1
                              is_unavailable:
                                type: boolean
                                example: false
                              allow_select_server:
                                type: boolean
                                example: true
                              allowed_servers:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    id:
                                      type: integer
                                      example: 1
                                    name:
                                      type: string
                                      example: Server A
                              virtual_price:
                                type: number
                                format: float
                                example: 299.99
                              is_virtual_currency_only:
                                type: boolean
                                example: false
                              image:
                                type: string
                                example: /img/items/1234.png
                              id:
                                type: integer
                                example: 1234
                              featured:
                                type: boolean
                                example: true
                              comparison:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    comparison_id:
                                      type: integer
                                      example: 301
                                    value:
                                      type: string
                                      example: Excellent
        '401':
          description: Unauthorized - Invalid or missing Access Token
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````