From df27dc5880629060675d93d7ad5e0cc928a9e87c Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 11:57:36 +0000 Subject: [PATCH] Regenerate client from commit d9302fe of spec repo (#37591) Co-authored-by: ci.datadog-api-spec --- content/en/api/v2/code-coverage/examples.json | 16 +++++++------- data/api/v2/full_spec.yaml | 22 ++++++++++++++----- 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/content/en/api/v2/code-coverage/examples.json b/content/en/api/v2/code-coverage/examples.json index 42c168ca853..320e4b788cc 100644 --- a/content/en/api/v2/code-coverage/examples.json +++ b/content/en/api/v2/code-coverage/examples.json @@ -77,8 +77,7 @@ "json_curl": { "data": { "attributes": { - "branch": "prod", - "repository_id": "github.com/datadog/shopist" + "branch": "prod" }, "type": "ci_app_coverage_branch_summary_request" } @@ -87,12 +86,13 @@ "data": { "attributes": { "branch": "prod", - "repository_id": "github.com/datadog/shopist" + "repository_id": "github.com/datadog/shopist", + "repository_url": "https://github.com/datadog/shopist" }, "type": "ci_app_coverage_branch_summary_request" } }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Data object for branch summary request.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for requesting code coverage summary for a branch.

\n
\n
\n
\n
\n
\n

branch [required]

\n
\n

string

\n

The branch name.

\n
\n \n
\n
\n
\n
\n
\n

repository_id [required]

\n
\n

string

\n

The repository identifier.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

JSON:API type for branch coverage summary request. The value must always be ci_app_coverage_branch_summary_request. \nAllowed enum values: ci_app_coverage_branch_summary_request

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Data object for branch summary request.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for requesting code coverage summary for a branch.

\n
\n
\n
\n
\n
\n

branch [required]

\n
\n

string

\n

The branch name.

\n
\n \n
\n
\n
\n
\n
\n

repository_id

\n
\n

string

\n

DEPRECATED: Deprecated: use repository_url instead. The repository URL.

\n
\n \n
\n
\n
\n
\n
\n

repository_url

\n
\n

string

\n

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

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

JSON:API type for branch coverage summary request. The value must always be ci_app_coverage_branch_summary_request. \nAllowed enum values: ci_app_coverage_branch_summary_request

\n
\n \n
\n
\n
\n
" } }, "GetCodeCoverageCommitSummary": { @@ -173,8 +173,7 @@ "json_curl": { "data": { "attributes": { - "commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", - "repository_id": "github.com/datadog/shopist" + "commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588" }, "type": "ci_app_coverage_commit_summary_request" } @@ -183,12 +182,13 @@ "data": { "attributes": { "commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", - "repository_id": "github.com/datadog/shopist" + "repository_id": "github.com/datadog/shopist", + "repository_url": "https://github.com/datadog/shopist" }, "type": "ci_app_coverage_commit_summary_request" } }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Data object for commit summary request.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for requesting code coverage summary for a commit.

\n
\n
\n
\n
\n
\n

commit_sha [required]

\n
\n

string

\n

The commit SHA (40-character hexadecimal string).

\n
\n \n
\n
\n
\n
\n
\n

repository_id [required]

\n
\n

string

\n

The repository identifier.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

JSON:API type for commit coverage summary request. The value must always be ci_app_coverage_commit_summary_request. \nAllowed enum values: ci_app_coverage_commit_summary_request

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Data object for commit summary request.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for requesting code coverage summary for a commit.

\n
\n
\n
\n
\n
\n

commit_sha [required]

\n
\n

string

\n

The commit SHA (40-character hexadecimal string).

\n
\n \n
\n
\n
\n
\n
\n

repository_id

\n
\n

string

\n

DEPRECATED: Deprecated: use repository_url instead. The repository URL.

\n
\n \n
\n
\n
\n
\n
\n

repository_url

\n
\n

string

\n

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

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

JSON:API type for commit coverage summary request. The value must always be ci_app_coverage_commit_summary_request. \nAllowed enum values: ci_app_coverage_commit_summary_request

\n
\n \n
\n
\n
\n
" } } } \ No newline at end of file diff --git a/data/api/v2/full_spec.yaml b/data/api/v2/full_spec.yaml index 02381e5ee5b..9eadc7fb568 100644 --- a/data/api/v2/full_spec.yaml +++ b/data/api/v2/full_spec.yaml @@ -13086,12 +13086,17 @@ components: minLength: 1 type: string repository_id: - description: The repository identifier. + deprecated: true + description: "Deprecated: use `repository_url` instead. The repository URL." example: github.com/datadog/shopist minLength: 1 type: string + repository_url: + description: The repository URL. Accepts a full URL with or without a scheme (for example, `https://github.com/org/repo` or `github.com/org/repo`). + example: https://github.com/datadog/shopist + minLength: 1 + type: string required: - - repository_id - branch type: object BranchCoverageSummaryRequestData: @@ -19045,12 +19050,17 @@ components: pattern: "^[a-fA-F0-9]{40}$" type: string repository_id: - description: The repository identifier. + deprecated: true + description: "Deprecated: use `repository_url` instead. The repository URL." example: github.com/datadog/shopist minLength: 1 type: string + repository_url: + description: The repository URL. Accepts a full URL with or without a scheme (for example, `https://github.com/org/repo` or `github.com/org/repo`). + example: https://github.com/datadog/shopist + minLength: 1 + type: string required: - - repository_id - commit_sha type: object CommitCoverageSummaryRequestData: @@ -123435,7 +123445,7 @@ paths: data: attributes: branch: prod - repository_id: github.com/datadog/test-service + repository_url: https://github.com/datadog/test-service type: ci_app_coverage_branch_summary_request schema: $ref: "#/components/schemas/BranchCoverageSummaryRequest" @@ -123506,7 +123516,7 @@ paths: data: attributes: commit_sha: 66adc9350f2cc9b250b69abddab733dd55e1a588 - repository_id: github.com/datadog/test-service + repository_url: https://github.com/datadog/test-service type: ci_app_coverage_commit_summary_request schema: $ref: "#/components/schemas/CommitCoverageSummaryRequest"