feat: category type
This commit is contained in:
@@ -16,6 +16,7 @@ params:path {
|
|||||||
|
|
||||||
body:multipart-form {
|
body:multipart-form {
|
||||||
name: کودکان
|
name: کودکان
|
||||||
|
type: media
|
||||||
description: دستهبندی محتوای کودکان
|
description: دستهبندی محتوای کودکان
|
||||||
~icon: @file()
|
~icon: @file()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,12 +5,21 @@ meta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get {
|
get {
|
||||||
url: {{baseUrl}}/categories
|
url: {{baseUrl}}/categories?type=media
|
||||||
body: none
|
body: none
|
||||||
auth: inherit
|
auth: inherit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
params:query {
|
||||||
|
type: media
|
||||||
|
}
|
||||||
|
|
||||||
settings {
|
settings {
|
||||||
encodeUrl: true
|
encodeUrl: true
|
||||||
timeout: 0
|
timeout: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
docs {
|
||||||
|
General categories. Filter by `type`: media | playlist | breathing_template.
|
||||||
|
Omit the `type` query param to return categories of all types.
|
||||||
|
}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ post {
|
|||||||
|
|
||||||
body:multipart-form {
|
body:multipart-form {
|
||||||
name: کودکان
|
name: کودکان
|
||||||
|
type: media
|
||||||
description: دستهبندی محتوای کودکان
|
description: دستهبندی محتوای کودکان
|
||||||
~icon: @file()
|
~icon: @file()
|
||||||
}
|
}
|
||||||
@@ -20,3 +21,7 @@ settings {
|
|||||||
encodeUrl: true
|
encodeUrl: true
|
||||||
timeout: 0
|
timeout: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
docs {
|
||||||
|
`type`: media | playlist | breathing_template (defaults to media).
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user