feat: add group

This commit is contained in:
2026-06-12 16:56:24 +03:30
parent 311b8b2ada
commit a8676eafb1
2 changed files with 52 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
meta {
name: grouped category
type: http
seq: 5
}
get {
url: {{baseUrl}}/categories/:id/grouped
body: none
auth: inherit
}
params:path {
id: 1
}
settings {
encodeUrl: true
timeout: 0
}
docs {
A category with each of its sub-categories, and each sub-category's medias:
{ category: { id, title, description, icon_url },
sub_categories: [ { sub_category: { id, title, description }, medias: [...] } ] }
}