@thinkai/tai-api-contract 2.159.0 → 2.160.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/openapi/openapi.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ThinkAI API
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.160.0
|
|
5
5
|
description: >
|
|
6
6
|
Contract surface for the AI Driven SDLC backend used by ThinkAI.
|
|
7
7
|
Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
|
|
@@ -5990,11 +5990,22 @@ paths:
|
|
|
5990
5990
|
schema:
|
|
5991
5991
|
$ref: "#/components/schemas/ErrorMessageDto"
|
|
5992
5992
|
"409":
|
|
5993
|
-
description:
|
|
5993
|
+
description: >
|
|
5994
|
+
A queued/running readiness analysis already exists for this repository slug
|
|
5995
|
+
(`error: readiness_run_already_active`), or a live GitHub check found the repo
|
|
5996
|
+
archived (`code: repo_archived`). Archived repos are soft-archived as
|
|
5997
|
+
`github_archived` and pending fixes are cancelled.
|
|
5994
5998
|
content:
|
|
5995
5999
|
application/json:
|
|
5996
6000
|
schema:
|
|
5997
6001
|
$ref: "#/components/schemas/ErrorMessageDto"
|
|
6002
|
+
examples:
|
|
6003
|
+
already_active:
|
|
6004
|
+
value: { error: readiness_run_already_active }
|
|
6005
|
+
repo_archived:
|
|
6006
|
+
value:
|
|
6007
|
+
error: Repository is archived on GitHub
|
|
6008
|
+
code: repo_archived
|
|
5998
6009
|
|
|
5999
6010
|
/workspaces/{workspaceId}/readiness/runs/{runId}:
|
|
6000
6011
|
get:
|
|
@@ -7520,6 +7531,20 @@ paths:
|
|
|
7520
7531
|
application/json:
|
|
7521
7532
|
schema:
|
|
7522
7533
|
$ref: "#/components/schemas/ErrorMessageDto"
|
|
7534
|
+
"409":
|
|
7535
|
+
description: >
|
|
7536
|
+
Live GitHub check found the repository archived (`code: repo_archived`). The repo is
|
|
7537
|
+
soft-archived as `github_archived` and pending fixes are cancelled with
|
|
7538
|
+
`error_code = repo_archived`.
|
|
7539
|
+
content:
|
|
7540
|
+
application/json:
|
|
7541
|
+
schema:
|
|
7542
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
7543
|
+
examples:
|
|
7544
|
+
repo_archived:
|
|
7545
|
+
value:
|
|
7546
|
+
error: Repository is archived on GitHub
|
|
7547
|
+
code: repo_archived
|
|
7523
7548
|
"422":
|
|
7524
7549
|
description: GitHub installation lacks write permissions required for automated fix PRs
|
|
7525
7550
|
content:
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -17526,7 +17526,7 @@ export interface operations {
|
|
|
17526
17526
|
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
17527
17527
|
};
|
|
17528
17528
|
};
|
|
17529
|
-
/** @description A queued/running readiness analysis already exists for this repository slug */
|
|
17529
|
+
/** @description A queued/running readiness analysis already exists for this repository slug (`error: readiness_run_already_active`), or a live GitHub check found the repo archived (`code: repo_archived`). Archived repos are soft-archived as `github_archived` and pending fixes are cancelled. */
|
|
17530
17530
|
409: {
|
|
17531
17531
|
headers: {
|
|
17532
17532
|
[name: string]: unknown;
|
|
@@ -19058,6 +19058,15 @@ export interface operations {
|
|
|
19058
19058
|
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19059
19059
|
};
|
|
19060
19060
|
};
|
|
19061
|
+
/** @description Live GitHub check found the repository archived (`code: repo_archived`). The repo is soft-archived as `github_archived` and pending fixes are cancelled with `error_code = repo_archived`. */
|
|
19062
|
+
409: {
|
|
19063
|
+
headers: {
|
|
19064
|
+
[name: string]: unknown;
|
|
19065
|
+
};
|
|
19066
|
+
content: {
|
|
19067
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19068
|
+
};
|
|
19069
|
+
};
|
|
19061
19070
|
/** @description GitHub installation lacks write permissions required for automated fix PRs */
|
|
19062
19071
|
422: {
|
|
19063
19072
|
headers: {
|