Skip to content

Commit

Permalink
Update dataset info endpoint to handle identifiers that are URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbygdell committed Feb 21, 2025
1 parent 5fbf562 commit ce9aa56
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions sda/cmd/download/swagger_v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,18 +141,12 @@ paths:
description: Internal application error
security:
- bearerAuth: []
/info/datasets/{datasetId}:
/info/dataset:
get:
description: Returns an array with metadata about the dataset
parameters:
- in: header
description: "Public key used to re-encrypt the file header with"
name: public_key
required: true
schema:
type: string
- in: path
name: datasetId
- in: query
name: dataset
schema:
type: string
required: true
Expand All @@ -172,18 +166,12 @@ paths:
description: Internal application error
security:
- bearerAuth: []
/info/datasets/{datasetId}/files:
/info/dataset/files:
get:
description: Returns an array with metadata about all files in a dataset
parameters:
- in: header
description: "Public key used to re-encrypt the file header with"
name: public_key
required: true
schema:
type: string
- in: path
name: datasetId
- in: query
name: dataset
schema:
type: string
required: true
Expand Down

0 comments on commit ce9aa56

Please sign in to comment.