DEV: Document some more parms for the cat create api docs (#19024)

This commit is contained in:
Blake Erickson 2022-11-14 16:15:42 -07:00 committed by GitHub
parent cac0c6212b
commit 99cdb5a5a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -11,6 +11,34 @@
"text_color": {
"type": "string",
"example": "f0fcfd"
},
"parent_category_id": {
"type": "integer"
},
"allow_badges": {
"type": "boolean"
},
"slug": {
"type": "string"
},
"topic_featured_links_allowed": {
"type": "boolean"
},
"permissions": {
"type": "object",
"additionalProperties": true,
"properties": {
"everyone": {
"type": "integer",
"example": 1
},
"staff": {
"type": "integer"
}
}
},
"search_priority": {
"type": "integer"
}
},
"required": [