API referenceRunner
Exchange an Xcode Cloud handshake for a job token
POST
The one-time code from the build branch plus CI_BUILD_ID. Accepted once, only for the run Liftbay started, while Apple reports it running on the pushed commit, from Apple's network.
application/json- body
buildId*stringLength
1 <= length <= 64nonce*stringLength
16 <= length <= 128ciBuildId*stringLength
1 <= length <= 100commit?stringLength
length <= 64OK
application/json- response
jobToken*stringexpiresAt*stringcurl -X POST "https://example.com/v1/runner/xcode-cloud/exchange" \ -H "Content-Type: application/json" \ -d '{ "buildId": "string", "nonce": "stringstringstri", "ciBuildId": "string" }'{ "jobToken": "string", "expiresAt": "string"}