Rivier/ Reference/ hosting

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

  • repoIdintegerrequired
    The repository's number, as the list of connected repositories gives it
  • branchstring
    The branch that is released; the repository's default branch when left out At most 200 characters.
  • directorystring
    The folder of the project inside the repository; its root when left out At most 200 characters.

Responses

  • 200application/json
    Success
    • repositorystringrequired
    • branchstringrequired
    • directorystringrequired
    • supportedbooleanrequired
    • stackstringrequired
    • messagestring
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown