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": "
data [required]
\nobject
Data object for branch summary request.
attributes [required]
\nobject
Attributes for requesting code coverage summary for a branch.
branch [required]
\nstring
The branch name.
repository_id [required]
\nstring
The repository identifier.
type [required]
\nenum
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
data [required]
\nobject
Data object for branch summary request.
attributes [required]
\nobject
Attributes for requesting code coverage summary for a branch.
branch [required]
\nstring
The branch name.
repository_id
\nstring
DEPRECATED: Deprecated: use repository_url instead. The repository URL.
repository_url
\nstring
The repository URL. Accepts a full URL with or without a scheme (for example, https://github.com/org/repo or github.com/org/repo).
type [required]
\nenum
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
data [required]
\nobject
Data object for commit summary request.
attributes [required]
\nobject
Attributes for requesting code coverage summary for a commit.
commit_sha [required]
\nstring
The commit SHA (40-character hexadecimal string).
repository_id [required]
\nstring
The repository identifier.
type [required]
\nenum
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
data [required]
\nobject
Data object for commit summary request.
attributes [required]
\nobject
Attributes for requesting code coverage summary for a commit.
commit_sha [required]
\nstring
The commit SHA (40-character hexadecimal string).
repository_id
\nstring
DEPRECATED: Deprecated: use repository_url instead. The repository URL.
repository_url
\nstring
The repository URL. Accepts a full URL with or without a scheme (for example, https://github.com/org/repo or github.com/org/repo).
type [required]
\nenum
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