Authorization: Bearer ********************curl --location '/admin/videos' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"image": {
"id": "019ef461-17e3-7eaa-80ab-97169442e532",
"url": "https://lms.example.ru/api/files/read/019ef461-17e3-7eaa-80ab-97169442e532",
"name": "cover.png",
"extension": "png",
"mimeType": "image/png",
"size": 102400
},
"title": "Видео: основы",
"showInList": true,
"description": "Краткое описание",
"detail": {
"image": null,
"description": "Подробное описание"
}
}'{
"notification": {
"type": "success",
"code": "TestingSystem.Program.Created",
"message": "Программа тестирования создана."
},
"data": {
"id": "019ef461-17e3-7eaa-80ab-97169442e532"
},
"meta": {
"requestId": "019ef461-28f4-7fbb-91bc-a827ad53f643",
"traceId": "019ef461-39a5-70cc-a2cd-b9384e10a754"
}
}