Creates a new app build
Required permissions:
developer:manage_buildsThe app API key from an app from the /dashboard/developer page
Parameters for CreateAppBuild
Attachment input for the app build file. This should be an upload in .zip format. The zip should contain at least one main_js_bundle.hbc file and optionally an assets folder next to it. Input for an attachment
Checksum of the app build file. This is generated by the client and used to verify the integrity of the file that is submitted when un-packaged later on a device.
The platform of the app build (ios, android, web)
ios, android, web The id of the ai prompt that created this build
"prmt_xxxxxxxxxxxxx"
The ID of the app to create a build for. By default the current app from the api key is used.
"app_xxxxxxxxxxxxxx"
Supported app view types for the app build. A build can specify multiple view types, but should only specify ones that its code supports.
The different types of an app view
hub, discover, dash, dashboard, analytics A successful response
An App Build object representing a build of an application
The ID of the app build. It will look like apbu_xxxxx.
"apbu_xxxxxxxxxxxxx"
The platform of the app build (ios, android, web)
ios, android, web The URL to download the app build .zip file.
When this app build was created.
"2023-12-01T05:00:00.401Z"
The status of the app build (draft, approved, rejected, pending, etc)
draft, pending, approved, rejected This is generated by the client and used to verify the integrity of the file that is submitted. It is a SHA256 hash of the app build file.
The supported app view types for the app build. These are the views that the developer has specified that this build supports.
The different types of an app view
hub, discover, dash, dashboard, analytics The review message for the app build, if any. This is populated when the build is rejected and there is a reason specified by the reviewer.
Whether this app build is currently being used in production.