Upload and create snapshot entry
Changed onpost/builds/upload/snapshot
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-BUILD-IDstring uuid required
The buildId from the created build
X-RELATIVE-PATHstring required
The relative path of the file
X-SHAstring required
The SHA1 of the file
Request body multipart/form-data
Example request
{
"widths": "1280, 720, 360",
"browsers": "firefox, chrome"
}Response
Uploaded object
Changes
- info
api operation id
uploadSnapshotwas added
- info
- info
api operation id
uploadSnapshotremoved and replaced with
- info