Skip to main content
POST
Create bases

Authorizations

Authorization
string
header
required

Body

application/json
Minimum array length: 1
name
string
required

The name of the new base

Minimum string length: 1
developerId
string

Optional preconfigured Developer ID for the base. Must be unique within the workspace. If omitted, one is generated from the name.

Minimum string length: 1
githubRepo
string

The name of the GitHub repo to attach to the base, in the form 'owner/repo'. Attaching a repo also kicks off a scan of it.

Minimum string length: 1
Example:

Response

Returns the created bases

id
string
required

The Developer ID of the base

name
string
required

The name of the base

githubConnection
object | null
required

The GitHub connection for the base, or null if none exists

scan
object | null
required

The scan started by connecting a GitHub repo in this request, or null if none was started

Example: