FoundryBuilds

Get Foundry builds

Returns a list of all specified builds.

SecurityAuthToken
Request
query Parameters
foundation_major_number
string

Filter by Esper Foundation Major Number, Foundation Numbers are integers starting at 1.

build_arch
string

Filter by build architecture name, build architectures {arm, arm64, x86_64, x86}

android_major_version
integer

Filter by Android Major Version, Android Major Versions are integers starting at 1 and going to Current Android Release

device_model_id
string <uuid>

Device model id

approved
boolean

Filter builds which have been approved for OTA update

limit
integer
offset
integer
ordering
string
locked
boolean

Filter the locked builds. To be used with build_fingerprint_hash and device_model_id

build_fingerprint_hash
string

hash of the build fingerprint of the existing build

Responses
200

List of Foundry builds

401

Unauthorized

500

Internal server error

get/v1/foundry/builds/
Request samples
Response samples
application/json
{
  • "code": 0,
  • "content": {
    }
}

Get Foundry Build

Get a Foundry Build by unique ID

SecurityAuthToken
Request
path Parameters
build_id
required
string

A build UUID specifying the Foundry Build

Responses
200

Specified Foundry build

401

Unauthorized

404

Build not found

500

Internal server error

get/v1/foundry/builds/{build_id}/
Request samples
Response samples
application/json
{
  • "content": {
    }
}

Update Foundry build

Update a Foundry build based on given parameters

SecurityAuthToken
Request
path Parameters
build_id
required
string

A build UUID specifying the Foundry Build

Request Body schema: application/json
required
approve
boolean
user_remarks
string
Responses
200

Updated

400

Bad Request

401

Unauthorized

404

Builds not found

put/v1/foundry/builds/{build_id}/
Request samples
application/json
{
  • "approve": true,
  • "user_remarks": "string"
}
Response samples
application/json
{
  • "data": {
    }
}