Skip to main content
POST
Add lesson material

Авторизации

Authorization
string
header
обязательно

API token from the Zenedu dashboard

Параметры пути

bot
integer
обязательно

Bot ID

product
integer
обязательно

Product ID

lesson
integer
обязательно

Lesson ID

Тело

file
file

File up to 51000 KB: pdf, doc, docx, xls, xlsx, ppt, pptx, txt, csv, mp3, mp4, wav, ogg, zip, rar, jpg, jpeg, png, webp. Required without url, cannot be combined with url

name
string

Title; required with url

Maximum string length: 255

Ответ

Created material

data
object