Skip to main content
POST
Sign source maps

Authorizations

Authorization
string
header
required

Build-time secret key, as issued in the Interfere dashboard. Workspace secret keys also need the target App's public key (or a workspace public key with SDK service headers when workspace-key routing is enabled) in the x-interfere-public-key header; legacy surface secret keys don't.

Path Parameters

releaseSlug
string
required
Pattern: ^rel_[0-9a-f]{16}$

Query Parameters

environment
string

Deploy environment of the build. Each environment of a release has its own source maps; omit it to use the source maps of the release.

Required string length: 1 - 64
Example:

"production"

Body

application/json

Initializes an upload session with the file inventory and declared sizes. Upload each file through the source-map endpoint using ordered byte offsets, then finalize the complete batch before the session expires.

files
object[]
required

Response

Upload session expiry and file inventory

expiresAt
integer
required
uploads
object[]
required
batchUpload
object
uploadGrant
string

Opaque grant for this upload session. Send it as the X-Interfere-Upload-Grant header on chunk and batch uploads in place of the API key; it expires with the session.