feat: category type

This commit is contained in:
2026-06-11 09:54:23 +03:30
parent 3da6549edb
commit 6a033f6d07
3 changed files with 16 additions and 1 deletions
+1
View File
@@ -16,6 +16,7 @@ params:path {
body:multipart-form {
name: کودکان
type: media
description: دسته‌بندی محتوای کودکان
~icon: @file()
}
+10 -1
View File
@@ -5,12 +5,21 @@ meta {
}
get {
url: {{baseUrl}}/categories
url: {{baseUrl}}/categories?type=media
body: none
auth: inherit
}
params:query {
type: media
}
settings {
encodeUrl: true
timeout: 0
}
docs {
General categories. Filter by `type`: media | playlist | breathing_template.
Omit the `type` query param to return categories of all types.
}
+5
View File
@@ -12,6 +12,7 @@ post {
body:multipart-form {
name: کودکان
type: media
description: دسته‌بندی محتوای کودکان
~icon: @file()
}
@@ -20,3 +21,7 @@ settings {
encodeUrl: true
timeout: 0
}
docs {
`type`: media | playlist | breathing_template (defaults to media).
}