LikelyAffectedTestsResponse
Fields
14 fields
advisory- boolean
available· required- boolean
base_anchor_is_strong- boolean or null
base_source- string or null
caveat· required- string
changed_files_count- integer
file_detail_coverage- number or null
history· required- LikelyAffectedTestsHistory
project_id· required- string (uuid)
reason- string or null
run_id· required- string (uuid)
source- string or null
tests- array of LikelyAffectedTest
total_candidates- integer
Raw schema (JSON)
{
"properties": {
"advisory": {
"const": true,
"default": true,
"title": "Advisory",
"type": "boolean"
},
"available": {
"title": "Available",
"type": "boolean"
},
"base_anchor_is_strong": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Base Anchor Is Strong"
},
"base_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Base Source"
},
"caveat": {
"title": "Caveat",
"type": "string"
},
"changed_files_count": {
"default": 0,
"title": "Changed Files Count",
"type": "integer"
},
"file_detail_coverage": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "File Detail Coverage"
},
"history": {
"$ref": "#/components/schemas/LikelyAffectedTestsHistory"
},
"project_id": {
"format": "uuid",
"title": "Project Id",
"type": "string"
},
"reason": {
"anyOf": [
{
"enum": [
"no_commit_range",
"no_changed_files"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason"
},
"run_id": {
"format": "uuid",
"title": "Run Id",
"type": "string"
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source"
},
"tests": {
"items": {
"$ref": "#/components/schemas/LikelyAffectedTest"
},
"title": "Tests",
"type": "array"
},
"total_candidates": {
"default": 0,
"title": "Total Candidates",
"type": "integer"
}
},
"required": [
"run_id",
"project_id",
"available",
"caveat",
"history"
],
"title": "LikelyAffectedTestsResponse",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
GET/api/v1/runs/{run_id}/likely-affected-tests— Get Run Likely Affected Tests
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON