feat: add group
This commit is contained in:
@@ -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: [...] } ] }
|
||||
}
|
||||
Reference in New Issue
Block a user