Volumes
Complete multipart upload
POST
/
v1
/
volumes
/
{name}
/
upload-url
/
complete
Complete multipart upload
curl --request POST \
--url https://api.veri.studio/v1/volumes/{name}/upload-url/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"path": "<string>",
"upload_id": "<string>",
"parts": [
{
"number": 123,
"etag": "<string>"
}
]
}
'import requests
url = "https://api.veri.studio/v1/volumes/{name}/upload-url/complete"
payload = {
"path": "<string>",
"upload_id": "<string>",
"parts": [
{
"number": 123,
"etag": "<string>"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
path: '<string>',
upload_id: '<string>',
parts: [{number: 123, etag: '<string>'}]
})
};
fetch('https://api.veri.studio/v1/volumes/{name}/upload-url/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"path": "<string>",
"size_bytes": 123,
"etag": "<string>"
}Authorizations
API key with the vk_ prefix. Create one from the dashboard.
Path Parameters
Volume name
Body
application/json
Complete multipart upload
curl --request POST \
--url https://api.veri.studio/v1/volumes/{name}/upload-url/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"path": "<string>",
"upload_id": "<string>",
"parts": [
{
"number": 123,
"etag": "<string>"
}
]
}
'import requests
url = "https://api.veri.studio/v1/volumes/{name}/upload-url/complete"
payload = {
"path": "<string>",
"upload_id": "<string>",
"parts": [
{
"number": 123,
"etag": "<string>"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
path: '<string>',
upload_id: '<string>',
parts: [{number: 123, etag: '<string>'}]
})
};
fetch('https://api.veri.studio/v1/volumes/{name}/upload-url/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"path": "<string>",
"size_bytes": 123,
"etag": "<string>"
}
