You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.6 KiB
YAML
46 lines
1.6 KiB
YAML
4 years ago
|
get:
|
||
|
tags:
|
||
|
- admin
|
||
|
summary: Get category management settings
|
||
|
responses:
|
||
|
"200":
|
||
|
description: ""
|
||
|
content:
|
||
|
application/json:
|
||
|
schema:
|
||
|
allOf:
|
||
|
- type : object
|
||
|
properties:
|
||
|
categories:
|
||
|
type: array
|
||
|
items:
|
||
|
type: object
|
||
|
properties:
|
||
|
cid:
|
||
|
type: number
|
||
|
description: A category identifier
|
||
|
name:
|
||
|
type: string
|
||
|
disabled:
|
||
|
type: number
|
||
|
icon:
|
||
|
type: string
|
||
|
link:
|
||
|
type: string
|
||
|
parentCid:
|
||
|
type: number
|
||
|
description: The category identifier for the category that is the immediate
|
||
|
ancestor of the current category
|
||
|
color:
|
||
|
type: string
|
||
|
bgColor:
|
||
|
type: string
|
||
|
backgroundImage:
|
||
|
type: string
|
||
|
nullable: true
|
||
|
imageClass:
|
||
|
type: string
|
||
|
children:
|
||
|
type: array
|
||
|
description: Array of children categories
|
||
|
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|