feat: add category and sub for media

This commit is contained in:
2026-05-30 20:38:59 +03:30
parent 5db86c179a
commit d11f5a2142
32 changed files with 219 additions and 21 deletions
+12 -1
View File
@@ -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