Skip to content

Commit

Permalink
Updated entity api spec for the new endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekFurstPitt committed Oct 16, 2023
1 parent 07dd8aa commit d2cc665
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions entity-api-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2535,3 +2535,47 @@ paths:
description: The given dataset is unpublished and the user does not have the authorization to view it.
'500':
description: Internal error
'/datasets/components':
post:
summary: Create multiple component datasets from a single Multi-Assay ancestor
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
creation_action:
type: string
description: the action event that will describe the activity node. Allowed valuese are "Multi-Assay Split"
group_uuid:
type: string
description: the group uuid for the new component datasets
direct_ancestor_uuids:
type: string
description: the uuid for the parent multi assay dataset
datasets:
type: array
items:
$ref: '#/components/schemas/Dataset'

responses:
'200':
description: The entities were successfully created and are returned.
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Dataset'

'400':
description: Invalid input.
'404':
description: Not found. No matching datasets were found, or the none were found that the user is authorized to see.
'401':
description: The user's token has expired or the user did not supply a valid token
'403':
description: The given dataset is unpublished and the user does not have the authorization to view it.
'500':
description: Internal error

0 comments on commit d2cc665

Please sign in to comment.