Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derek furst/update derived queries #559

Merged
merged 6 commits into from
Oct 31, 2023
50 changes: 0 additions & 50 deletions entity-api-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1707,33 +1707,6 @@ paths:
description: The target entity could not be found
'500':
description: Internal error
'/collections/{id}':
get:
summary: 'Returns the information of the Collection specified by the uuid with all connected datasets. If a valid token is provided with group membership in the HuBMAP-Read group any collection matching the id will be returned. Otherwise if no token is provided or a valid token with no HuBMAP-Read group membership then only a public collection will be returned. Public collections are defined as being published via a DOI (collection.doi_registered == true) and at least one of the connected datasets is public (dataset.metadata.data_access_level == ''public''). For public collections only connected datasets that are public are returned with it.'
parameters:
- name: id
in: path
description: The unique identifier of entity. This identifier can be either an HuBMAP ID (e.g. HBM123.ABCD.456) or UUID
required: true
schema:
type: string
responses:
'200':
description: The collection is returned
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Collection'
'400':
description: Invalid or misformatted entity identifier
'401':
description: The user's token has expired or the user did not supply a valid token
'404':
description: The target entity could not be found
'500':
description: Internal error
'/entities/new/{entity_type}':
post:
summary: Create a new entity of the target type
Expand Down Expand Up @@ -1806,29 +1779,6 @@ paths:
description: The user's token has expired or the user did not supply a valid token
'500':
description: Internal error
'/collections/{id}/add-datasets':
put:
summary: Link the given list of datasets to the target collection
parameters:
- name: id
in: path
description: The UUID of target collection
required: true
schema:
type: string
responses:
'200':
description: successful operation
'400':
description: Invalid or misformatted collection uuid
'401':
description: The user's token has expired or the user did not supply a valid token
'403':
description: The user is not authorized to add datasets to the collection
'404':
description: The target entity could not be found
'500':
description: Internal error
'/doi/redirect/{id}':
get:
summary: Redirect a request from a doi service
Expand Down
Loading