Hosting coder github detect
post/hosting/coder/github/detect
Whether Praecise Cloud can build a connected repository (a branch, a folder inside it), and as what; a stack it cannot build yet is named in a sentence.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Sdk
hosting.coderGithub.detect- Cli
hosting coder github detect
Request bodyapplication/json, required
- repoIdintegerrequiredThe repository's number, as the list of connected repositories gives it
- branchstringThe branch that is released; the repository's default branch when left out At most 200 characters.
- directorystringThe folder of the project inside the repository; its root when left out At most 200 characters.
Responses
- 200application/jsonSuccess
- repositorystringrequired
- branchstringrequired
- directorystringrequired
- supportedbooleanrequired
- stackstringrequired
- messagestring
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring