feat: add category and sub for media
This commit is contained in:
+12
-1
@@ -6,7 +6,7 @@ meta {
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/media
|
||||
body: json
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
@@ -38,6 +38,17 @@ body:json {
|
||||
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
title: کودک
|
||||
caption: کودکان
|
||||
category_id: 2
|
||||
subcategory_id: 1
|
||||
file: @file(C:\Users\vada\Downloads\KhameneiIsDead.mp3)
|
||||
duration: 3
|
||||
visibility: public
|
||||
type: audio
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
|
||||
Reference in New Issue
Block a user