Apply a remote upload action
curl --request POST \
--url https://api.videobase.com/v1/upload/url/actions \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{}'const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.videobase.com/v1/upload/url/actions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.videobase.com/v1/upload/url/actions"
payload = {}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"affected": 1
}{
"message": "File not found",
"status": 500
}Uploads
Apply a remote upload action
Retries failed items, deletes failed items, deletes inactive items, or deletes one queue item.
POST
/
v1
/
upload
/
url
/
actions
Apply a remote upload action
curl --request POST \
--url https://api.videobase.com/v1/upload/url/actions \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{}'const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.videobase.com/v1/upload/url/actions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.videobase.com/v1/upload/url/actions"
payload = {}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"affected": 1
}{
"message": "File not found",
"status": 500
}Authorizations
ApiKeyHeaderApiKeyQuery
Recommended. Your 16-character Videobase API key.
Body
application/json
Response
Action result.
- Option 1
- Option 2
Required range:
x >= 0