27 lines
432 B
Plaintext
27 lines
432 B
Plaintext
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: [...] } ] }
|
|
}
|