35 lines
657 B
Plaintext
35 lines
657 B
Plaintext
meta {
|
|
name: media-search
|
|
type: http
|
|
seq: 10
|
|
}
|
|
|
|
get {
|
|
url: {{baseUrl}}/media/search?per_page=20&page=1&durations=20-30
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
params:query {
|
|
per_page: 20
|
|
page: 1
|
|
durations: 20-30
|
|
~search: ش
|
|
~categories: 1,2
|
|
~subcategories: 1
|
|
~tags: relax,sleep
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
Paginated search/filter results. Same filters as /media:
|
|
- search, categories (ids, comma), subcategories (ids, comma),
|
|
durations (e.g. 1-2,2-5,5-10,10-30,30-60,60-120,other), tags (names, comma)
|
|
- pagination: page, per_page (default 20, max 100)
|
|
Use /media/filters for the filter chips/options.
|
|
}
|