|
1043 | 1043 | } |
1044 | 1044 | } |
1045 | 1045 | }, |
| 1046 | + "/v1/organizations/{org_id}/repos/check-suite-settings": { |
| 1047 | + "get": { |
| 1048 | + "tags": [ |
| 1049 | + "repositories", |
| 1050 | + "check-suite-settings" |
| 1051 | + ], |
| 1052 | + "summary": "Get Check Suite Settings", |
| 1053 | + "description": "Get check suite settings for a repository.", |
| 1054 | + "operationId": "get_check_suite_settings_v1_organizations__org_id__repos_check_suite_settings_get", |
| 1055 | + "parameters": [ |
| 1056 | + { |
| 1057 | + "name": "repo_id", |
| 1058 | + "in": "query", |
| 1059 | + "required": true, |
| 1060 | + "schema": { |
| 1061 | + "type": "integer", |
| 1062 | + "description": "Repository ID", |
| 1063 | + "title": "Repo Id" |
| 1064 | + }, |
| 1065 | + "description": "Repository ID" |
| 1066 | + } |
| 1067 | + ], |
| 1068 | + "responses": { |
| 1069 | + "200": { |
| 1070 | + "description": "Successful Response", |
| 1071 | + "content": { |
| 1072 | + "application/json": { |
| 1073 | + "schema": { |
| 1074 | + "$ref": "#/components/schemas/CheckSuiteSettingsResponse" |
| 1075 | + } |
| 1076 | + } |
| 1077 | + } |
| 1078 | + }, |
| 1079 | + "422": { |
| 1080 | + "description": "Validation Error", |
| 1081 | + "content": { |
| 1082 | + "application/json": { |
| 1083 | + "schema": { |
| 1084 | + "$ref": "#/components/schemas/HTTPValidationError" |
| 1085 | + } |
| 1086 | + } |
| 1087 | + } |
| 1088 | + } |
| 1089 | + } |
| 1090 | + }, |
| 1091 | + "put": { |
| 1092 | + "tags": [ |
| 1093 | + "repositories", |
| 1094 | + "check-suite-settings" |
| 1095 | + ], |
| 1096 | + "summary": "Update Check Suite Settings", |
| 1097 | + "description": "Update check suite settings for a repository.", |
| 1098 | + "operationId": "update_check_suite_settings_v1_organizations__org_id__repos_check_suite_settings_put", |
| 1099 | + "parameters": [ |
| 1100 | + { |
| 1101 | + "name": "repo_id", |
| 1102 | + "in": "query", |
| 1103 | + "required": true, |
| 1104 | + "schema": { |
| 1105 | + "type": "integer", |
| 1106 | + "description": "Repository ID", |
| 1107 | + "title": "Repo Id" |
| 1108 | + }, |
| 1109 | + "description": "Repository ID" |
| 1110 | + } |
| 1111 | + ], |
| 1112 | + "requestBody": { |
| 1113 | + "required": true, |
| 1114 | + "content": { |
| 1115 | + "application/json": { |
| 1116 | + "schema": { |
| 1117 | + "$ref": "#/components/schemas/CheckSuiteSettingsRequest" |
| 1118 | + } |
| 1119 | + } |
| 1120 | + } |
| 1121 | + }, |
| 1122 | + "responses": { |
| 1123 | + "200": { |
| 1124 | + "description": "Successful Response", |
| 1125 | + "content": { |
| 1126 | + "application/json": { |
| 1127 | + "schema": { |
| 1128 | + "type": "object", |
| 1129 | + "additionalProperties": true, |
| 1130 | + "title": "Response Update Check Suite Settings V1 Organizations Org Id Repos Check Suite Settings Put" |
| 1131 | + } |
| 1132 | + } |
| 1133 | + } |
| 1134 | + }, |
| 1135 | + "422": { |
| 1136 | + "description": "Validation Error", |
| 1137 | + "content": { |
| 1138 | + "application/json": { |
| 1139 | + "schema": { |
| 1140 | + "$ref": "#/components/schemas/HTTPValidationError" |
| 1141 | + } |
| 1142 | + } |
| 1143 | + } |
| 1144 | + } |
| 1145 | + } |
| 1146 | + } |
| 1147 | + }, |
1046 | 1148 | "/v1/organizations/{org_id}/prs/{pr_id}": { |
1047 | 1149 | "patch": { |
1048 | 1150 | "tags": [ |
|
2080 | 2182 | ], |
2081 | 2183 | "title": "ApiAgentRunSourceType" |
2082 | 2184 | }, |
| 2185 | + "CheckSuiteSettingsRequest": { |
| 2186 | + "properties": { |
| 2187 | + "check_retry_count": { |
| 2188 | + "anyOf": [ |
| 2189 | + { |
| 2190 | + "type": "integer", |
| 2191 | + "maximum": 10.0, |
| 2192 | + "minimum": 0.0 |
| 2193 | + }, |
| 2194 | + { |
| 2195 | + "type": "null" |
| 2196 | + } |
| 2197 | + ], |
| 2198 | + "title": "Check Retry Count", |
| 2199 | + "description": "Global retry count for failed checks" |
| 2200 | + }, |
| 2201 | + "ignored_checks": { |
| 2202 | + "anyOf": [ |
| 2203 | + { |
| 2204 | + "items": { |
| 2205 | + "type": "string" |
| 2206 | + }, |
| 2207 | + "type": "array" |
| 2208 | + }, |
| 2209 | + { |
| 2210 | + "type": "null" |
| 2211 | + } |
| 2212 | + ], |
| 2213 | + "title": "Ignored Checks", |
| 2214 | + "description": "List of check names to ignore" |
| 2215 | + }, |
| 2216 | + "check_retry_counts": { |
| 2217 | + "anyOf": [ |
| 2218 | + { |
| 2219 | + "additionalProperties": { |
| 2220 | + "type": "integer" |
| 2221 | + }, |
| 2222 | + "type": "object" |
| 2223 | + }, |
| 2224 | + { |
| 2225 | + "type": "null" |
| 2226 | + } |
| 2227 | + ], |
| 2228 | + "title": "Check Retry Counts", |
| 2229 | + "description": "Per-check retry counts" |
| 2230 | + }, |
| 2231 | + "custom_prompts": { |
| 2232 | + "anyOf": [ |
| 2233 | + { |
| 2234 | + "additionalProperties": { |
| 2235 | + "type": "string" |
| 2236 | + }, |
| 2237 | + "type": "object" |
| 2238 | + }, |
| 2239 | + { |
| 2240 | + "type": "null" |
| 2241 | + } |
| 2242 | + ], |
| 2243 | + "title": "Custom Prompts", |
| 2244 | + "description": "Custom prompts per check" |
| 2245 | + }, |
| 2246 | + "high_priority_apps": { |
| 2247 | + "anyOf": [ |
| 2248 | + { |
| 2249 | + "items": { |
| 2250 | + "type": "string" |
| 2251 | + }, |
| 2252 | + "type": "array" |
| 2253 | + }, |
| 2254 | + { |
| 2255 | + "type": "null" |
| 2256 | + } |
| 2257 | + ], |
| 2258 | + "title": "High Priority Apps", |
| 2259 | + "description": "Apps that trigger immediate processing on failure" |
| 2260 | + } |
| 2261 | + }, |
| 2262 | + "type": "object", |
| 2263 | + "title": "CheckSuiteSettingsRequest", |
| 2264 | + "description": "Request model for updating check suite settings." |
| 2265 | + }, |
| 2266 | + "CheckSuiteSettingsResponse": { |
| 2267 | + "properties": { |
| 2268 | + "check_retry_count": { |
| 2269 | + "type": "integer", |
| 2270 | + "title": "Check Retry Count" |
| 2271 | + }, |
| 2272 | + "ignored_checks": { |
| 2273 | + "items": { |
| 2274 | + "type": "string" |
| 2275 | + }, |
| 2276 | + "type": "array", |
| 2277 | + "title": "Ignored Checks" |
| 2278 | + }, |
| 2279 | + "check_retry_counts": { |
| 2280 | + "additionalProperties": { |
| 2281 | + "type": "integer" |
| 2282 | + }, |
| 2283 | + "type": "object", |
| 2284 | + "title": "Check Retry Counts" |
| 2285 | + }, |
| 2286 | + "custom_prompts": { |
| 2287 | + "additionalProperties": { |
| 2288 | + "type": "string" |
| 2289 | + }, |
| 2290 | + "type": "object", |
| 2291 | + "title": "Custom Prompts" |
| 2292 | + }, |
| 2293 | + "high_priority_apps": { |
| 2294 | + "items": { |
| 2295 | + "type": "string" |
| 2296 | + }, |
| 2297 | + "type": "array", |
| 2298 | + "title": "High Priority Apps" |
| 2299 | + }, |
| 2300 | + "available_check_suite_names": { |
| 2301 | + "items": { |
| 2302 | + "type": "string" |
| 2303 | + }, |
| 2304 | + "type": "array", |
| 2305 | + "title": "Available Check Suite Names" |
| 2306 | + } |
| 2307 | + }, |
| 2308 | + "type": "object", |
| 2309 | + "required": [ |
| 2310 | + "check_retry_count", |
| 2311 | + "ignored_checks", |
| 2312 | + "check_retry_counts", |
| 2313 | + "custom_prompts", |
| 2314 | + "high_priority_apps", |
| 2315 | + "available_check_suite_names" |
| 2316 | + ], |
| 2317 | + "title": "CheckSuiteSettingsResponse", |
| 2318 | + "description": "Response model for check suite settings." |
| 2319 | + }, |
2083 | 2320 | "CreateAgentRunInput": { |
2084 | 2321 | "properties": { |
2085 | 2322 | "prompt": { |
|
0 commit comments