configureGitHubReleases
POST
/api/v1/player-releases/github/configuration
const url = 'https://example.com/api/v1/player-releases/github/configuration';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"clientId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/player-releases/github/configuration \ --header 'Content-Type: application/json' \ --data '{ "clientId": "example" }'Configure the GitHub OAuth App used for player release device authorization. Requires an Owner with the admin scope. Cookie-authenticated unsafe requests require X-CSRF-Token.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters”X-CSRF-Token
string
Cookie-backed browser requests only, and only on unsafe methods. Bearer grants never send it.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
clientId
required
string
Examplegenerated
{ "clientId": "example"}Responses
Section titled “ Responses ”GitHub releases configured
Media typeapplication/json
object
data
required
object
configured
required
boolean
Examplegenerated
{ "data": { "configured": true }}Invalid request body
Dashboard authentication required
Insufficient role
Client ID environment-managed or connected
GitHub Client ID invalid
GitHub sign-in unavailable