Download a file or folder of a saved snapshot as a tar
curl --request GET \
--url https://api.styne.ai/snapshots/{name}/archive \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.styne.ai/snapshots/{name}/archive"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.styne.ai/snapshots/{name}/archive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>",
"origin": "<string>",
"request_id": "<string>"
}Download a file or folder of a saved snapshot as a tar
GET
/
snapshots
/
{name}
/
archive
Download a file or folder of a saved snapshot as a tar
curl --request GET \
--url https://api.styne.ai/snapshots/{name}/archive \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.styne.ai/snapshots/{name}/archive"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.styne.ai/snapshots/{name}/archive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>",
"origin": "<string>",
"request_id": "<string>"
}Authorizations
Response
Success. The answer is described on https://docs.styne.ai/snapshots.