Skip to content

Commit 60b2079

Browse files
robot-ci-heartexfern-api[bot]jombooth
authored
chore: LEAP-96: mark all datasets endpoints internal (#565)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Jo Booth <[email protected]>
1 parent 4f18092 commit 60b2079

File tree

7 files changed

+200
-0
lines changed

7 files changed

+200
-0
lines changed

.mock/definition/dataExplorer.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ service:
1818
docs: Dataset ID
1919
examples:
2020
- {}
21+
audiences:
22+
- internal
2123
api_datasets_import_create:
2224
path: /api/datasets/import
2325
method: POST
@@ -52,6 +54,8 @@ service:
5254
docs: View ID
5355
examples:
5456
- {}
57+
audiences:
58+
- internal
5559
api_datasets_tasks_retrieve:
5660
path: /api/datasets/tasks
5761
method: GET
@@ -108,6 +112,8 @@ service:
108112
selected_items:
109113
key: value
110114
user: 1
115+
audiences:
116+
- internal
111117
api_datasets_tasks_metadata_retrieve:
112118
path: /api/datasets/tasks/metadata
113119
method: GET
@@ -133,6 +139,8 @@ service:
133139
docs: Task ID from vectordb database
134140
examples:
135141
- {}
142+
audiences:
143+
- internal
136144
source:
137145
openapi: openapi/openapi.yaml
138146
imports:

.mock/definition/datasetStorageAzure.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ service:
5252
traceback: traceback
5353
type: type
5454
use_blob_urls: true
55+
audiences:
56+
- internal
5557
api_dataset_storages_azure_create:
5658
path: /api/dataset-storages/azure/
5759
method: POST
@@ -96,6 +98,8 @@ service:
9698
traceback: traceback
9799
type: type
98100
use_blob_urls: true
101+
audiences:
102+
- internal
99103
api_dataset_storages_azure_check_for_records_create:
100104
path: /api/dataset-storages/azure/check-for-records/
101105
method: POST
@@ -142,6 +146,8 @@ service:
142146
traceback: traceback
143147
type: type
144148
use_blob_urls: true
149+
audiences:
150+
- internal
145151
api_dataset_storages_azure_validate_create:
146152
path: /api/dataset-storages/azure/validate/
147153
method: POST
@@ -186,6 +192,8 @@ service:
186192
traceback: traceback
187193
type: type
188194
use_blob_urls: true
195+
audiences:
196+
- internal
189197
api_dataset_storages_azure_retrieve:
190198
path: /api/dataset-storages/azure/{id}/
191199
method: GET
@@ -229,6 +237,8 @@ service:
229237
traceback: traceback
230238
type: type
231239
use_blob_urls: true
240+
audiences:
241+
- internal
232242
api_dataset_storages_azure_destroy:
233243
path: /api/dataset-storages/azure/{id}/
234244
method: DELETE
@@ -242,6 +252,8 @@ service:
242252
examples:
243253
- path-parameters:
244254
id: 1
255+
audiences:
256+
- internal
245257
api_dataset_storages_azure_partial_update:
246258
path: /api/dataset-storages/azure/{id}/
247259
method: PATCH
@@ -357,6 +369,8 @@ service:
357369
traceback: traceback
358370
type: type
359371
use_blob_urls: true
372+
audiences:
373+
- internal
360374
api_dataset_storages_azure_columns_retrieve:
361375
path: /api/dataset-storages/azure/{id}/columns/
362376
method: GET
@@ -370,6 +384,8 @@ service:
370384
examples:
371385
- path-parameters:
372386
id: 1
387+
audiences:
388+
- internal
373389
api_dataset_storages_azure_sync_create:
374390
path: /api/dataset-storages/azure/{id}/sync/
375391
method: POST
@@ -418,5 +434,7 @@ service:
418434
traceback: traceback
419435
type: type
420436
use_blob_urls: true
437+
audiences:
438+
- internal
421439
source:
422440
openapi: openapi/openapi.yaml

.mock/definition/datasetStorageGcs.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ service:
5252
traceback: traceback
5353
type: type
5454
use_blob_urls: true
55+
audiences:
56+
- internal
5557
api_dataset_storages_gcs_create:
5658
path: /api/dataset-storages/gcs/
5759
method: POST
@@ -96,6 +98,8 @@ service:
9698
traceback: traceback
9799
type: type
98100
use_blob_urls: true
101+
audiences:
102+
- internal
99103
api_dataset_storages_gcs_check_for_records_create:
100104
path: /api/dataset-storages/gcs/check-for-records/
101105
method: POST
@@ -142,6 +146,8 @@ service:
142146
traceback: traceback
143147
type: type
144148
use_blob_urls: true
149+
audiences:
150+
- internal
145151
api_dataset_storages_gcs_validate_create:
146152
path: /api/dataset-storages/gcs/validate/
147153
method: POST
@@ -186,6 +192,8 @@ service:
186192
traceback: traceback
187193
type: type
188194
use_blob_urls: true
195+
audiences:
196+
- internal
189197
api_dataset_storages_gcs_retrieve:
190198
path: /api/dataset-storages/gcs/{id}/
191199
method: GET
@@ -229,6 +237,8 @@ service:
229237
traceback: traceback
230238
type: type
231239
use_blob_urls: true
240+
audiences:
241+
- internal
232242
api_dataset_storages_gcs_destroy:
233243
path: /api/dataset-storages/gcs/{id}/
234244
method: DELETE
@@ -242,6 +252,8 @@ service:
242252
examples:
243253
- path-parameters:
244254
id: 1
255+
audiences:
256+
- internal
245257
api_dataset_storages_gcs_partial_update:
246258
path: /api/dataset-storages/gcs/{id}/
247259
method: PATCH
@@ -357,6 +369,8 @@ service:
357369
traceback: traceback
358370
type: type
359371
use_blob_urls: true
372+
audiences:
373+
- internal
360374
api_dataset_storages_gcs_columns_retrieve:
361375
path: /api/dataset-storages/gcs/{id}/columns/
362376
method: GET
@@ -370,6 +384,8 @@ service:
370384
examples:
371385
- path-parameters:
372386
id: 1
387+
audiences:
388+
- internal
373389
api_dataset_storages_gcs_sync_create:
374390
path: /api/dataset-storages/gcs/{id}/sync/
375391
method: POST
@@ -418,5 +434,7 @@ service:
418434
traceback: traceback
419435
type: type
420436
use_blob_urls: true
437+
audiences:
438+
- internal
421439
source:
422440
openapi: openapi/openapi.yaml

.mock/definition/datasetStorageS3.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ service:
5757
traceback: traceback
5858
type: type
5959
use_blob_urls: true
60+
audiences:
61+
- internal
6062
api_dataset_storages_s3_create:
6163
path: /api/dataset-storages/s3/
6264
method: POST
@@ -106,6 +108,8 @@ service:
106108
traceback: traceback
107109
type: type
108110
use_blob_urls: true
111+
audiences:
112+
- internal
109113
api_dataset_storages_s3_check_for_records_create:
110114
path: /api/dataset-storages/s3/check-for-records/
111115
method: POST
@@ -157,6 +161,8 @@ service:
157161
traceback: traceback
158162
type: type
159163
use_blob_urls: true
164+
audiences:
165+
- internal
160166
api_dataset_storages_s3_validate_create:
161167
path: /api/dataset-storages/s3/validate/
162168
method: POST
@@ -206,6 +212,8 @@ service:
206212
traceback: traceback
207213
type: type
208214
use_blob_urls: true
215+
audiences:
216+
- internal
209217
api_dataset_storages_s3_retrieve:
210218
path: /api/dataset-storages/s3/{id}/
211219
method: GET
@@ -254,6 +262,8 @@ service:
254262
traceback: traceback
255263
type: type
256264
use_blob_urls: true
265+
audiences:
266+
- internal
257267
api_dataset_storages_s3_destroy:
258268
path: /api/dataset-storages/s3/{id}/
259269
method: DELETE
@@ -267,6 +277,8 @@ service:
267277
examples:
268278
- path-parameters:
269279
id: 1
280+
audiences:
281+
- internal
270282
api_dataset_storages_s3_partial_update:
271283
path: /api/dataset-storages/s3/{id}/
272284
method: PATCH
@@ -402,6 +414,8 @@ service:
402414
traceback: traceback
403415
type: type
404416
use_blob_urls: true
417+
audiences:
418+
- internal
405419
api_dataset_storages_s3_columns_retrieve:
406420
path: /api/dataset-storages/s3/{id}/columns/
407421
method: GET
@@ -415,6 +429,8 @@ service:
415429
examples:
416430
- path-parameters:
417431
id: 1
432+
audiences:
433+
- internal
418434
api_dataset_storages_s3_sync_create:
419435
path: /api/dataset-storages/s3/{id}/sync/
420436
method: POST
@@ -468,5 +484,7 @@ service:
468484
traceback: traceback
469485
type: type
470486
use_blob_urls: true
487+
audiences:
488+
- internal
471489
source:
472490
openapi: openapi/openapi.yaml

0 commit comments

Comments
 (0)