Import native builds
POST
https://Example-Server.com/be/v1/builds
Last modified:2025-05-08 12:00:04
1.
2.
File Format
native-build.tar
. The generation can be done as follows:Operating System | Tool |
---|---|
Linux | cd path/to/gamedir tar cvf /var/tmp/native-build.tar . |
Windows | in PowerShell: cd path\\to\\gamedir tar -cvf C:\\temp\\native-build.tar . |
ROCKIT Edge Download Request
url
), ROCKIT Edge will download the native game build automatically. If the optional body request parameter size
is given, a simple file size check is executed after the download has concluded.Client Upload
url
body request parameter a temporary upload URL is returned in the response body. Upload the file to this URL using PUT.Bash
C/C++
Python
TypeScript
Important:
Incorrect Deployment Credentials:
If an app tries to deploy but cannot, it will enter an error state.
Checking
GET /be/v1/apps
will show that the app is in an error state.GET /be/v1/tasks
can be used to inspect which task failed.If an app fails to deploy due to incorrect credentials or deployment issues, you can resolve it in one of the following ways:
1.
PATCH /deployments
to update the deployment with the correct credentials.2.
PATCH /apps
.Exception Handling
1.
GET /be/v1/tasks
shows the failed Download Tar Task (dltar).GET /be/v1/tasks/{taskId}
reveals:httpStatus: HTTP error code indicating failure.
exitCode: Error code providing further details (e.g., unreachable source).
2.
GET /be/v1/tasks
shows the failed Download Tar Task (dltar).GET /be/v1/tasks/{taskId}
reveals:sizeBytesActual: The actual file size.
sizeBytesExpected: The expected file size (provided in the request).
3.
GET /be/v1/tasks
shows the failed Make Raw Task.GET /be/v1/tasks/{taskId}
reveals:fileReadFailed:
filename: Name of the file that failed to be read.
typeExpected: Expected file type.
typeDetected: Actual detected file type.
Acknowledging Warnings (Optional)
PATCH /be/v1/tasks
to mark them as acknowledged.Required Permissions
apps.update
Request
Header Params
x-rockit-beauth-token
string
optional
POST /be/v1/auth
) or API key (POST /be/v1/apikeys
) Mutually excluded with
x-rockit-api-key
.Example:
{{_edge_org_admin_beauth_token}}
x-rockit-orgname
string
optional
Requires
x-rockit-username
and x-rockit-api-key
.Example:
{{EDGE_ORG_NAME}}
x-rockit-username
string
optional
Requires
x-rockit-orgname
and x-rockit-api-key
.Example:
adminPrincipal
x-rockit-api-key
string
optional
Mutually excluded with
x-rockit-beauth-token
. Requires x-rockit-username
and x-rockit-orgname
.Example:
{{_adminPrincipal_apiKey}}
Body Params application/json
Request samples
Responses
Modified at 2025-05-08 12:00:04