Storage
Decode one gzip layer to a new Storage file without overwriting an existing file.
Decode one gzip layer to a new Storage file without overwriting an existing file. The request enforces Storage access, workspace ownership, and entry lifecycle state.
POST
/
api
/
v1
/
storage
/
entries
/
{storageEntryId}
/
unpack
Decode one gzip layer to a new Storage file without overwriting an existing file.
curl --request POST \
--url https://api.revoengine.com/api/v1/storage/entries/{storageEntryId}/unpack \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"parentStorageEntryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"idempotencyKey": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
parentStorageEntryId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
idempotencyKey: '<string>'
})
};
fetch('https://api.revoengine.com/api/v1/storage/entries/{storageEntryId}/unpack', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/storage/entries/{storageEntryId}/unpack"
payload = {
"parentStorageEntryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"idempotencyKey": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
Bearer JWT token or API Key (sk-*).
Path Parameters
Body
application/json
Destination folder in the same Storage workspace. Omit for the source folder. Null selects the workspace root.
Destination name. The default removes one gzip suffix.
Stable retry identity for this source version and destination.
Maximum string length:
256Response
200
⌘I
Decode one gzip layer to a new Storage file without overwriting an existing file.
curl --request POST \
--url https://api.revoengine.com/api/v1/storage/entries/{storageEntryId}/unpack \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"parentStorageEntryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"idempotencyKey": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
parentStorageEntryId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
idempotencyKey: '<string>'
})
};
fetch('https://api.revoengine.com/api/v1/storage/entries/{storageEntryId}/unpack', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/storage/entries/{storageEntryId}/unpack"
payload = {
"parentStorageEntryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"idempotencyKey": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
