Add Space.Download (#301)

* add Space.Download

* change data to bytes
This commit is contained in:
Asim Aslam
2021-12-10 09:19:13 +00:00
committed by GitHub
parent d66117b4fe
commit 904821dc6b
6 changed files with 488 additions and 80 deletions

View File

@@ -87,6 +87,26 @@
"name": "images/file.jpg"
},
"response": {
"object": {
"name": "images/file.jpg",
"modified": 1638549232,
"created": 1638546232,
"url": "https://example.com/foo/bar/images/file.jpg",
"visibility": "public",
"data": "<file bytes>"
}
}
}
],
"download": [
{
"title": "Download an object",
"run_check": false,
"request": {
"name": "images/file.jpg"
},
"response": {
"url": "https://example.com/foo/bar/images/file.jpg"
}
}
]