App Configuration

createZipUploadUrl

Changed on

Generate a presigned URL to upload a zip file with artifacts that will be unpacked in a new directory under the /<app-id>/ path

post/v1/app-configurations/{appId}/zip

Request

  • Base URL
    https://app.sls.epilot.io
  • URL
    https://app.sls.epilot.io/v1/app-configurations/{appId}/zip
  • Auth
    • HTTP bearer
    • or API key in header x-epilot-org-id

Path parameters

appIdstring required

ID of the app configuration

Request body

filenamestring

Example request

{
  "filename": "dist.zip"
}

Response

Upload URL generated successfully

upload_urlstring required

Presigned S3 URL for uploading the bundle

artifact_urlstring required

Public CDN URL for the unpacked artifacts

expires_atstring date-time

Timestamp when the upload URL expires

Example response

{
  "s3ref": {
    "bucket": "my-bucket",
    "key": "manifest.json"
  }
}

Changes