Attributes for requesting per-file code coverage data. Exactly one of commit_sha, branch, or pr_number must be provided. At most one of service, codeowner, or flag may be provided.

Hierarchy

  • FilesCoverageRequestAttributes

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
branch?: string

The branch name.

changedOnly?: boolean

When true, return coverage data only for files that were changed in the specified scope.

codeowner?: string

Filter coverage by code owner. At most one of service, codeowner, or flag may be provided.

commitSha?: string

The commit SHA (40-character hexadecimal string).

flag?: string

Filter coverage by coverage flag. At most one of service, codeowner, or flag may be provided.

prNumber?: number

The pull request number. Must be a positive integer.

repositoryId?: string

Deprecated: use repository_url instead. The repository URL.

repositoryUrl?: string

The repository URL. Accepts a full URL with or without a scheme (for example, https://github.com/org/repo or github.com/org/repo).

service?: string

Filter coverage by service name. At most one of service, codeowner, or flag may be provided.

Generated using TypeDoc