Skip to main content
POST
cURL

Body

application/json
name
string
required

The name of the GitHub Data Source to create. Must be slug-friendly.

Required string length: 1 - 64
projectId
string
required

The ID of the project to create the GitHub Data Source in.

Minimum string length: 1
connectionId
string<uuid>
required

The ID of the GitHub Radar Connection to use for this Data Source.

config
object
required
description
string | null

An optional description for the GitHub Data Source.

Maximum string length: 256
isAutoScanEnabled
boolean
default:true

Whether scans should be automatically performed when a push occurs to repositories associated with this Data Source.

Response

Default Response

dataSource
GitHub · object
required