Complete a multipart upload
curl --request POST \
--url https://nemonist.com/api/v1/folders/{id}/multipart/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"upload": "<string>"
}
'import requests
url = "https://nemonist.com/api/v1/folders/{id}/multipart/complete"
payload = { "upload": "<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({upload: '<string>'})
};
fetch('https://nemonist.com/api/v1/folders/{id}/multipart/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "<string>",
"folder": "<string>",
"path": "<string>",
"bytes": 123
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}Folders
Complete a multipart upload
Joins the uploaded parts into the file once every part is in.
POST
/
folders
/
{id}
/
multipart
/
complete
Complete a multipart upload
curl --request POST \
--url https://nemonist.com/api/v1/folders/{id}/multipart/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"upload": "<string>"
}
'import requests
url = "https://nemonist.com/api/v1/folders/{id}/multipart/complete"
payload = { "upload": "<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({upload: '<string>'})
};
fetch('https://nemonist.com/api/v1/folders/{id}/multipart/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "<string>",
"folder": "<string>",
"path": "<string>",
"bytes": 123
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}