Skip to main content
POST
cURL

Authorizations

oiq_token
string
cookie
required

Path Parameters

id
string
required

Body

multipart/form-data

One source map for one minified script. The map is stored under the key an error's top frame is later looked up by: the script's URL path and the page's release id.

file
file
required

The source map (.map) itself, at most 10 MiB. It must parse as a version 3 source map; anything else is refused with 400.

release
string
required

The release id your page passes as the second argument to addRelease(name, id). Surrounding whitespace is ignored, and a value longer than 200 characters keeps its last 200 — the browser agent's own rule.

url
string
required

The URL, or site path, of the MINIFIED SCRIPT this map describes — for example https://cdn.example.com/assets/app.a91f.js or /assets/app.a91f.js. Only the path is kept: origin, query string and fragment are ignored, so one upload covers every host serving the file. A value ending in .map is refused.

Response

200

Success