PresetVideo
Definition
PresetVideo Type
- JSON
- Typescript
- Kotlin
presetVideo.json
{
"id": 0,
"presetID": 0,
"videoNome": "",
"url": "",
"thumbUrl": "",
"beginDate": "",
"endDate": "",
"createdAt": "",
"updatedAt": "",
}
Get PresetVideos
- Curl
- Typescript
- Kotlin
curl -X GET "https://${baseUrl}/preset-video/?\$filter=&\$orderBy=&\$page=1&\$pageSize=10" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Get PresetVideo
- Curl
- Typescript
- Kotlin
curl -X GET "https://${baseUrl}/preset-video/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Apply PresetVideo.ID
- Curl
- Typescript
- Kotlin
curl -X POST "https://${baseUrl}/apply/preset-video/id/" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Create PresetVideo
- Curl
- Typescript
- Kotlin
curl -X POST "https://${baseUrl}/preset-video/" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d @presetVideo.json
info
presetVideo.json
{
"presetID": 0,
"videoNome": "",
"url": "",
"thumbUrl": "",
"beginDate": "",
"endDate": "",
}
tip
success status: 201
Update PresetVideo
- Curl
- Typescript
- Kotlin
curl -X PUT "https://${baseUrl}/preset-video/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d @presetVideo.json
info
presetVideo.json
{
"presetID": 0,
"videoNome": "",
"url": "",
"thumbUrl": "",
"beginDate": "",
"endDate": "",
}
Update PresetVideo Partial
- Curl
- Typescript
- Kotlin
curl -X PATCH "https://${baseUrl}/preset-video/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Attrs: presetID,videoNome,url,thumbUrl,beginDate,endDate" \
-d @presetVideo.json
info
presetVideo.json
{
"presetID": 0,
"videoNome": "",
"url": "",
"thumbUrl": "",
"beginDate": "",
"endDate": "",
}
Destroy PresetVideo
- Curl
- Typescript
- Kotlin
curl -X DELETE "https://${baseUrl}/preset-video/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"