Source maps
Upload source maps
POST
Uploads source map files for one release of a project as multipart/form-data. urlPrefix says where the built files are served from. The openperf sourcemaps upload command calls this endpoint. Needs a token that can write.
header
AuthorizationBearer <opaque>Organization API token (opt_…)
projectId*stringversion*stringMatch
^[^\s/]+$Length
1 <= length <= 200urlPrefix?stringLength
1 <= length <= 512Default
"~/"multipart/form-data- body
files?array<unknown>application/json- response
[index: integer]?curl -X POST 'https://api.example.com/api/v1/projects/string/releases/string/source-maps' \
-H 'Authorization: Bearer <token>'Example Response
[
{
"id": "string",
"file": "string",
"size": 0,
"sha256": "string",
"createdAt": "2019-08-24T14:15:22Z"
}
]