Start app image release

Begin a deploy: reserve the release number and answer with a presigned upload per file. The bytes go straight to storage rather than through this API, and nothing serves the release until you publish it.

post/api/app-images/{handle}/{slug}/releases

Request

  • Base URL: https://reduck.ai
  • URL: https://reduck.ai/api/app-images/{handle}/{slug}/releases
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

handlestring required

The owner a resource is addressed under: "@username" for a personal scope, or a bare slug for a project.

slugstring required

The image's identifier within its owner's scope. Chosen once and never changed.

Request body

grantobject

The manifest's hosts as authored: each host the page may reach, and what rides along.

configobject

config.json as authored: the settings defaults.

schema_shastring

sha256 of the schema.sql this release ships, if it ships one.

Response

Created

numbernumber required
expires_innumber required

Changes

No recorded changes to this operation across all 1 revision of this API.