Skip to main content

PresetVideo

Definition

PresetVideo Type
presetVideo.json
{
"id": 0,
"presetID": 0,
"videoNome": "",
"url": "",
"thumbUrl": "",
"beginDate": "",
"endDate": "",
"createdAt": "",
"updatedAt": "",
}

Get PresetVideos

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 -X GET "https://${baseUrl}/preset-video/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Apply PresetVideo.ID

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 -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 -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 -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 -X DELETE "https://${baseUrl}/preset-video/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"