@@ -180,8 +180,8 @@ paths:
180180 - 'displayName': Extracted from 'openshift.io/display-name' annotation if present
181181 - 'description': Extracted from 'openshift.io/description' annotation if present
182182
183- /api/v1/s3/file :
184- summary : Path used to get or upload a file in S3 .
183+ /api/v1/s3/files/{key} :
184+ summary : Endpoints for working with a specific file from an S3-compatible connection .
185185 description : >-
186186 The REST endpoint/path used to retrieve or upload files in S3 storage.
187187 GET returns an arbitrary file with transfer-encoding: chunked for efficient streaming.
@@ -225,7 +225,7 @@ paths:
225225 type : string
226226 example : my-bucket
227227 - name : key
228- in : query
228+ in : path
229229 required : true
230230 description : The S3 object key to retrieve
231231 schema :
@@ -318,7 +318,7 @@ paths:
318318 pattern : ' ^\S(.*\S)?$'
319319 example : my-bucket
320320 - name : key
321- in : query
321+ in : path
322322 required : true
323323 description : >-
324324 Requested S3 object key for the upload. If an object already exists at this key,
@@ -380,8 +380,8 @@ paths:
380380 Returns 409 if the object key chosen after collision resolution still conflicts at upload time
381381 (e.g. concurrent writer); the client should retry the upload.
382382
383- /api/v1/s3/file /schema :
384- summary : Path used to get the schema (column names and types) of a CSV file from S3 .
383+ /api/v1/s3/files/{key} /schema :
384+ summary : Endpoint to get the schema (column names and types) of a CSV file from an S3-compatible connection .
385385 description : >-
386386 The REST endpoint/path used to retrieve the schema of a CSV file from S3 storage.
387387 Reads the header and a minimum of 100 data rows to determine column names and infer data types.
@@ -448,7 +448,7 @@ paths:
448448 type : string
449449 example : my-bucket
450450 - name : key
451- in : query
451+ in : path
452452 required : true
453453 description : The S3 object key (CSV file) to retrieve schema from
454454 schema :
0 commit comments