Github API - Test Config

GET /repos/{owner}/{repo}/code-scanning/codeql/databases
repos
code-scanning

Lists the CodeQL databases that are available in a repository.

For private repositories, you must use an access token with the security_events scope.
For public repositories, you can use tokens with the security_events or public_repo scope.
GitHub Apps must have the contents read permission to use this endpoint.
List CodeQL databases for a repository

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json code-scanning-codeql-database []

code-scanning-codeql-database [object]

A CodeQL database.

Attributes
content_type string

The MIME type of the CodeQL database file.

created_at string

The date and time at which the CodeQL database was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.

id integer

The ID of the CodeQL database.

language string

The language of the CodeQL database.

name string

The name of the CodeQL database.

size integer

The size of the CodeQL database file in bytes.

updated_at string

The date and time at which the CodeQL database was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.

uploader simple-user

url string

The URL at which to download the CodeQL database. The Accept header must be set to the value of the content_type property.

API:
Github Open API
(version: 1.1.4)
403 code_scanning_forbidden_read

code_scanning_forbidden_read [scalar]

Response if GitHub Advanced Security is not enabled for this repository

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
503 service_unavailable

service_unavailable [scalar]

Service unavailable

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)