CodeBeaver cloud exposes a RESTful API
type
: Specifies what you want CodeBeaver to analyze. Currently supports:
pull_request
: Analyze changes in a pull requestcommit
: Analyze changes in a specific commitaction
: Defines what CodeBeaver should do. Supports:
analyze
: Analyzes changes and provides test results and bug detection analysisanalyze-and-generate
: Does everything analyze
does, plus generates test filesdry-run
: Performs analysis and shows what would be generated without making any changesgit_provider
: Identifies which Git hosting service you’re using. Supports:
github
: GitHub repositoriesgitlab
: GitLab repositoriesbitbucket
: Bitbucket repositoriesgit_provider_id
: The unique identifier of your repository in your Git provider’s system
pr_number
: Required when type is “pull_request”. The number of the pull request to analyze
commit_sha
: Required when type is “commit”. The full SHA hash of the commit to analyze