Skip to content

Commit 87d6827

Browse files
committed
SDK regeneration
1 parent 60b2079 commit 87d6827

34 files changed

+433
-3254
lines changed

.mock/definition/annotationHistory.yml

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ service:
44
auth: false
55
base-path: ''
66
endpoints:
7-
list:
7+
api_annotation_history_list:
88
path: /api/annotation-history/
99
method: GET
1010
auth: true
@@ -17,11 +17,8 @@ service:
1717
openapi: openapi/openapi.yaml
1818
display-name: List all annotation history items for annotation
1919
request:
20-
name: AnnotationHistoryListRequest
20+
name: ApiAnnotationHistoryListRequest
2121
query-parameters:
22-
annotation:
23-
type: optional<integer>
24-
docs: Annotation ID to get annotation history items for.
2522
ordering:
2623
type: optional<string>
2724
docs: Which field to use when ordering the results.
@@ -47,9 +44,7 @@ service:
4744
review_id: 1
4845
started_at: '2024-01-15T09:30:00Z'
4946
task_id: 1
50-
audiences:
51-
- public
52-
delete:
47+
api_annotation_history_destroy:
5348
path: /api/annotation-history/
5449
method: DELETE
5550
auth: true
@@ -60,28 +55,14 @@ service:
6055
source:
6156
openapi: openapi/openapi.yaml
6257
display-name: Delete annotation history items
63-
request:
64-
name: AnnotationHistoryDeleteRequest
65-
query-parameters:
66-
annotation:
67-
type: optional<integer>
68-
docs: Annotation ID to delete annotation history items for.
69-
project:
70-
type: optional<integer>
71-
docs: Project ID to delete annotation history items for.
72-
task:
73-
type: optional<integer>
74-
docs: Task ID to delete annotation history items for.
7558
response:
7659
docs: Returns a dict containing the count of removed items.
77-
type: AnnotationHistoryDeleteResponse
60+
type: ApiAnnotationHistoryDestroyResponse
7861
examples:
7962
- response:
8063
body:
8164
removed: 1
82-
audiences:
83-
- public
84-
list_for_project:
65+
api_projects_annotation_history_list:
8566
path: /api/projects/{id}/annotation-history/
8667
method: GET
8768
auth: true
@@ -92,7 +73,7 @@ service:
9273
id: integer
9374
display-name: List annotation history items for project
9475
request:
95-
name: AnnotationHistoryListForProjectRequest
76+
name: ApiProjectsAnnotationHistoryListRequest
9677
query-parameters:
9778
page:
9879
type: optional<integer>
@@ -128,12 +109,10 @@ service:
128109
review_id: 1
129110
started_at: '2024-01-15T09:30:00Z'
130111
task_id: 1
131-
audiences:
132-
- public
133112
source:
134113
openapi: openapi/openapi.yaml
135114
types:
136-
AnnotationHistoryDeleteResponse:
115+
ApiAnnotationHistoryDestroyResponse:
137116
properties:
138117
removed:
139118
type: optional<integer>

.mock/definition/annotationReviews.yml

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ service:
44
auth: false
55
base-path: ''
66
endpoints:
7-
list:
7+
api_annotation_reviews_list:
88
path: /api/annotation-reviews/
99
method: GET
1010
auth: true
@@ -13,7 +13,7 @@ service:
1313
openapi: openapi/openapi.yaml
1414
display-name: List reviews
1515
request:
16-
name: AnnotationReviewsListRequest
16+
name: ApiAnnotationReviewsListRequest
1717
query-parameters:
1818
annotation: optional<integer>
1919
annotation__task__project: optional<integer>
@@ -38,9 +38,7 @@ service:
3838
result:
3939
key: value
4040
started_at: '2024-01-15T09:30:00Z'
41-
audiences:
42-
- public
43-
create:
41+
api_annotation_reviews_create:
4442
path: /api/annotation-reviews/
4543
method: POST
4644
auth: true
@@ -50,11 +48,6 @@ service:
5048
display-name: Create review
5149
request:
5250
body: root.AnnotationReviewRequest
53-
query-parameters:
54-
async_postprocess:
55-
type: optional<boolean>
56-
docs: Whether to postprocess the review asynchronously.
57-
name: AnnotationReviewsCreateRequest
5851
content-type: application/json
5952
response:
6053
docs: ''
@@ -76,9 +69,7 @@ service:
7669
result:
7770
key: value
7871
started_at: '2024-01-15T09:30:00Z'
79-
audiences:
80-
- public
81-
get:
72+
api_annotation_reviews_retrieve:
8273
path: /api/annotation-reviews/{id}/
8374
method: GET
8475
auth: true
@@ -110,8 +101,6 @@ service:
110101
result:
111102
key: value
112103
started_at: '2024-01-15T09:30:00Z'
113-
audiences:
114-
- public
115104
api_annotation_reviews_update:
116105
path: /api/annotation-reviews/{id}/
117106
method: PUT
@@ -149,9 +138,7 @@ service:
149138
result:
150139
key: value
151140
started_at: '2024-01-15T09:30:00Z'
152-
audiences:
153-
- internal
154-
delete:
141+
api_annotation_reviews_destroy:
155142
path: /api/annotation-reviews/{id}/
156143
method: DELETE
157144
auth: true
@@ -166,9 +153,7 @@ service:
166153
examples:
167154
- path-parameters:
168155
id: 1
169-
audiences:
170-
- public
171-
update:
156+
api_annotation_reviews_partial_update:
172157
path: /api/annotation-reviews/{id}/
173158
method: PATCH
174159
auth: true
@@ -220,7 +205,5 @@ service:
220205
result:
221206
key: value
222207
started_at: '2024-01-15T09:30:00Z'
223-
audiences:
224-
- public
225208
source:
226209
openapi: openapi/openapi.yaml

.mock/definition/blueprints.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ service:
44
auth: false
55
base-path: ''
66
endpoints:
7-
create:
7+
api_blueprints_create:
88
path: /api/blueprints/
99
method: POST
1010
auth: true
@@ -23,7 +23,6 @@ service:
2323
label_config:
2424
type: optional<string>
2525
docs: Labeling configuration in XML format
26-
project: integer
2726
title:
2827
type: optional<string>
2928
docs: Blueprint name. Must be between 3 and 50 characters long.
@@ -34,8 +33,7 @@ service:
3433
docs: ''
3534
type: root.Blueprint
3635
examples:
37-
- request:
38-
project: 1
36+
- request: {}
3937
response:
4038
body:
4139
created_at: '2024-01-15T09:30:00Z'
@@ -48,9 +46,7 @@ service:
4846
short_url: short_url
4947
title: title
5048
updated_at: '2024-01-15T09:30:00Z'
51-
audiences:
52-
- public
53-
delete:
49+
api_blueprints_destroy:
5450
path: /api/blueprints/{id}/
5551
method: DELETE
5652
auth: true
@@ -63,15 +59,11 @@ service:
6359
examples:
6460
- path-parameters:
6561
id: id
66-
audiences:
67-
- public
6862
api_blueprints_create_project_retrieve:
6963
path: /api/blueprints/{share_id}/create-project
7064
method: GET
7165
auth: true
72-
docs: >-
73-
Create a new project from an existing blueprint. On success, user is
74-
redirected to the new project with a 302.
66+
docs: Create a new project from an existing blueprint
7567
source:
7668
openapi: openapi/openapi.yaml
7769
path-parameters:
@@ -84,7 +76,5 @@ service:
8476
examples:
8577
- path-parameters:
8678
share_id: share_id
87-
audiences:
88-
- internal
8979
source:
9080
openapi: openapi/openapi.yaml

.mock/definition/dataExplorer.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ service:
1818
docs: Dataset ID
1919
examples:
2020
- {}
21-
audiences:
22-
- internal
2321
api_datasets_import_create:
2422
path: /api/datasets/import
2523
method: POST
@@ -54,8 +52,6 @@ service:
5452
docs: View ID
5553
examples:
5654
- {}
57-
audiences:
58-
- internal
5955
api_datasets_tasks_retrieve:
6056
path: /api/datasets/tasks
6157
method: GET
@@ -112,8 +108,6 @@ service:
112108
selected_items:
113109
key: value
114110
user: 1
115-
audiences:
116-
- internal
117111
api_datasets_tasks_metadata_retrieve:
118112
path: /api/datasets/tasks/metadata
119113
method: GET
@@ -139,8 +133,6 @@ service:
139133
docs: Task ID from vectordb database
140134
examples:
141135
- {}
142-
audiences:
143-
- internal
144136
source:
145137
openapi: openapi/openapi.yaml
146138
imports:

.mock/definition/datasetStorageAzure.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ service:
5252
traceback: traceback
5353
type: type
5454
use_blob_urls: true
55-
audiences:
56-
- internal
5755
api_dataset_storages_azure_create:
5856
path: /api/dataset-storages/azure/
5957
method: POST
@@ -98,8 +96,6 @@ service:
9896
traceback: traceback
9997
type: type
10098
use_blob_urls: true
101-
audiences:
102-
- internal
10399
api_dataset_storages_azure_check_for_records_create:
104100
path: /api/dataset-storages/azure/check-for-records/
105101
method: POST
@@ -146,8 +142,6 @@ service:
146142
traceback: traceback
147143
type: type
148144
use_blob_urls: true
149-
audiences:
150-
- internal
151145
api_dataset_storages_azure_validate_create:
152146
path: /api/dataset-storages/azure/validate/
153147
method: POST
@@ -192,8 +186,6 @@ service:
192186
traceback: traceback
193187
type: type
194188
use_blob_urls: true
195-
audiences:
196-
- internal
197189
api_dataset_storages_azure_retrieve:
198190
path: /api/dataset-storages/azure/{id}/
199191
method: GET
@@ -237,8 +229,6 @@ service:
237229
traceback: traceback
238230
type: type
239231
use_blob_urls: true
240-
audiences:
241-
- internal
242232
api_dataset_storages_azure_destroy:
243233
path: /api/dataset-storages/azure/{id}/
244234
method: DELETE
@@ -252,8 +242,6 @@ service:
252242
examples:
253243
- path-parameters:
254244
id: 1
255-
audiences:
256-
- internal
257245
api_dataset_storages_azure_partial_update:
258246
path: /api/dataset-storages/azure/{id}/
259247
method: PATCH
@@ -369,8 +357,6 @@ service:
369357
traceback: traceback
370358
type: type
371359
use_blob_urls: true
372-
audiences:
373-
- internal
374360
api_dataset_storages_azure_columns_retrieve:
375361
path: /api/dataset-storages/azure/{id}/columns/
376362
method: GET
@@ -384,8 +370,6 @@ service:
384370
examples:
385371
- path-parameters:
386372
id: 1
387-
audiences:
388-
- internal
389373
api_dataset_storages_azure_sync_create:
390374
path: /api/dataset-storages/azure/{id}/sync/
391375
method: POST
@@ -434,7 +418,5 @@ service:
434418
traceback: traceback
435419
type: type
436420
use_blob_urls: true
437-
audiences:
438-
- internal
439421
source:
440422
openapi: openapi/openapi.yaml

0 commit comments

Comments
 (0)