feat: add search media
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: get themes
|
||||
type: http
|
||||
seq: 7
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/themes
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
docs {
|
||||
Returns the color themes (blue, pink, green, orange, purple) a scene can use.
|
||||
Each theme has key, name and a `colors` map. Assign one to a scene via theme_id.
|
||||
}
|
||||
@@ -14,6 +14,7 @@ body:multipart-form {
|
||||
name: موجهای دریا
|
||||
order: 1
|
||||
is_active: 1
|
||||
~theme_id: 1
|
||||
image: @file(C:\Users\vada\Downloads\bale-border.png)
|
||||
~video: @file()
|
||||
~sound: @file()
|
||||
|
||||
@@ -6,14 +6,25 @@ meta {
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/scenes/:id
|
||||
body: none
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id:
|
||||
id: 1
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
~name: موجهای دریا
|
||||
~theme_id: 1
|
||||
~order: 1
|
||||
~is_active: 1
|
||||
~image: @file()
|
||||
~video: @file()
|
||||
~sound: @file()
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user