Skip to content

Commit d1bf17f

Browse files
committed
updated api
1 parent 219c0e9 commit d1bf17f

File tree

2 files changed

+0
-139
lines changed

2 files changed

+0
-139
lines changed

frontend/src/api/openapi/services/JobService.ts

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -45,59 +45,4 @@ export class JobService {
4545
},
4646
});
4747
}
48-
/**
49-
* Abort DuplicateFinder job
50-
* @returns boolean Successful Response
51-
* @throws ApiError
52-
*/
53-
public static abortDuplicateFinderJob({ jobId }: { jobId: string }): CancelablePromise<boolean> {
54-
return __request(OpenAPI, {
55-
method: "POST",
56-
url: "/job/duplicate_finder/{job_id}/abort",
57-
path: {
58-
job_id: jobId,
59-
},
60-
errors: {
61-
422: `Validation Error`,
62-
},
63-
});
64-
}
65-
/**
66-
* Retry DuplicateFinder job
67-
* @returns boolean Successful Response
68-
* @throws ApiError
69-
*/
70-
public static retryDuplicateFinderJob({ jobId }: { jobId: string }): CancelablePromise<boolean> {
71-
return __request(OpenAPI, {
72-
method: "POST",
73-
url: "/job/duplicate_finder/{job_id}/retry",
74-
path: {
75-
job_id: jobId,
76-
},
77-
errors: {
78-
422: `Validation Error`,
79-
},
80-
});
81-
}
82-
/**
83-
* Get all DuplicateFinder jobs by project
84-
* @returns DuplicateFinderJobRead Successful Response
85-
* @throws ApiError
86-
*/
87-
public static getDuplicateFinderJobsByProject({
88-
projectId,
89-
}: {
90-
projectId: number;
91-
}): CancelablePromise<Array<DuplicateFinderJobRead>> {
92-
return __request(OpenAPI, {
93-
method: "GET",
94-
url: "/job/duplicate_finder/project/{project_id}",
95-
path: {
96-
project_id: projectId,
97-
},
98-
errors: {
99-
422: `Validation Error`,
100-
},
101-
});
102-
}
10348
}

frontend/src/openapi.json

Lines changed: 0 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,90 +1516,6 @@
15161516
}
15171517
}
15181518
},
1519-
"/job/duplicate_finder/{job_id}/abort": {
1520-
"post": {
1521-
"tags": ["job"],
1522-
"summary": "Abort DuplicateFinder job",
1523-
"operationId": "abort_duplicate_finder_job",
1524-
"security": [{ "OAuth2PasswordBearer": [] }],
1525-
"parameters": [
1526-
{ "name": "job_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Job Id" } }
1527-
],
1528-
"responses": {
1529-
"200": {
1530-
"description": "Successful Response",
1531-
"content": {
1532-
"application/json": {
1533-
"schema": { "type": "boolean", "title": "Response Job-Abort Duplicate Finder Job" }
1534-
}
1535-
}
1536-
},
1537-
"422": {
1538-
"description": "Validation Error",
1539-
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }
1540-
}
1541-
}
1542-
}
1543-
},
1544-
"/job/duplicate_finder/{job_id}/retry": {
1545-
"post": {
1546-
"tags": ["job"],
1547-
"summary": "Retry DuplicateFinder job",
1548-
"operationId": "retry_duplicate_finder_job",
1549-
"security": [{ "OAuth2PasswordBearer": [] }],
1550-
"parameters": [
1551-
{ "name": "job_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Job Id" } }
1552-
],
1553-
"responses": {
1554-
"200": {
1555-
"description": "Successful Response",
1556-
"content": {
1557-
"application/json": {
1558-
"schema": { "type": "boolean", "title": "Response Job-Retry Duplicate Finder Job" }
1559-
}
1560-
}
1561-
},
1562-
"422": {
1563-
"description": "Validation Error",
1564-
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }
1565-
}
1566-
}
1567-
}
1568-
},
1569-
"/job/duplicate_finder/project/{project_id}": {
1570-
"get": {
1571-
"tags": ["job"],
1572-
"summary": "Get all DuplicateFinder jobs by project",
1573-
"operationId": "get_duplicate_finder_jobs_by_project",
1574-
"security": [{ "OAuth2PasswordBearer": [] }],
1575-
"parameters": [
1576-
{
1577-
"name": "project_id",
1578-
"in": "path",
1579-
"required": true,
1580-
"schema": { "type": "integer", "title": "Project Id" }
1581-
}
1582-
],
1583-
"responses": {
1584-
"200": {
1585-
"description": "Successful Response",
1586-
"content": {
1587-
"application/json": {
1588-
"schema": {
1589-
"type": "array",
1590-
"items": { "$ref": "#/components/schemas/DuplicateFinderJobRead" },
1591-
"title": "Response Job-Get Duplicate Finder Jobs By Project"
1592-
}
1593-
}
1594-
}
1595-
},
1596-
"422": {
1597-
"description": "Validation Error",
1598-
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }
1599-
}
1600-
}
1601-
}
1602-
},
16031519
"/llm": {
16041520
"post": {
16051521
"tags": ["llm"],

0 commit comments

Comments
 (0)