v1

latestOpenAPI 3.0.02026-07-17437.1 KB

Create a build

post/builds/start

Headers

Authorizationstring required

Token authorization from project

Request body

branchstring

The branch used to create the snapshots

commitShastring

The SHA1 from the current

committerNamestring

The name from the current

commiterEmailstring

The email from the commit

commitDatestring

The commit date of the commit (YYYY-MM-DDThh-mm-ss-Z)

authorNamestring

The author of the commit

authorEmailstring

The author email of the commit

authorDatestring

The author date of the commit (YYYY-MM-DDThh-mm-ss-Z)

assetsAssets

A HashTable of file names as the key and SHA1 as the value

Example request

{
  "commitDate": "2019-10-26T12:58:18-07:00",
  "authorDate": "2019-10-26T12:58:18-07:00",
  "assets": {
    "base/file/image.png": "1234abcdef",
    "base/other/image.png": "abcdef1234"
  }
}

Response

Build object

idstring uuid

The buildId from the build created

assetsAssets

A HashTable of file names as the key and SHA1 as the value

Example response

{
  "assets": {
    "base/file/image.png": "1234abcdef",
    "base/other/image.png": "abcdef1234"
  }
}