Web API for updating build files via AWS S3 Bucket

I'm using Amazing S3 for Multiplay builds. Which is working great.
However, I still need to update the build files manually.
I'm hoping a Web API can be exposed for this step.

Cheers.

I managed to work it out.

POST https://services.unity.com/api/multiplay/builds/v4/projects/{{projectId}}/environments/{{environmentId}}/builds/{{buildId}}/versions

Headers:

Authorization: Bearer ...

Payload:

{
    "forceRollout": false,
    "s3":{
        "s3URI": "S3://...",
        "accessKey": "{{accessKey}}",
        "secretKey": "{{secretKey}}"
    }
}

Response:
202
{}

1 Like

Oh there are docs for it,.
I'm just blind.
https://services.docs.unity.com/multiplay-config/v1/index.html#tag/Builds/operation/CreateNewBuildVersion