Skip to main content
POST
/
archives
/
create
Create a ZIP from cloud files
curl --request POST \
  --url https://zip.platform.arb.inc/archives/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "files": [
    {
      "gsURL": "gs://my-bucket/invoices/jan.csv",
      "name": "january.csv",
      "path": "data/invoices/"
    },
    {
      "gsURL": "gs://my-bucket/invoices/feb.csv",
      "name": "february.csv",
      "path": "data/invoices/"
    }
  ]
}
'
"(binary zip stream)"

Authorizations

Authorization
string
header
required

access token

Body

application/json
files
object[]
required

List of files to include in the ZIP.

Response

200 - application/zip

ZIP stream is returned for download.

The response is of type file.