v2

Zip a batch of files or directories

Changed on

Use this method to create a ZIP archive from the list of filenames

post/v2/files/zip

Request

  • Base URL
    https://api.sirv.com
  • Auth
    none declared

Request body

filenamesstring[] required
zipFilenamestring

Example request

{
  "filenames": [
    [
      "/REST API Examples/coin/coin_01.jpg",
      "/REST API Examples/coin/coin_02.jpg"
    ]
  ],
  "zipFilename": "Sirv January 18, 2023.zip"
}

Response

Successful

idstring required

ZIP job ID

Changes