Skip to content

Commit

Permalink
Merge pull request #294 from bcgsc/bugfix/DEVSU-1999-fix-swagger-docs
Browse files Browse the repository at this point in the history
bugfix/DEVSU-1999-fix-swagger-docs
  • Loading branch information
Nithriel authored Jan 24, 2024
2 parents 3a73aa4 + e28ee0f commit f337220
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions app/routes/swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1986,6 +1986,43 @@
}
}
},
"/project/{project}/reports": {
"get": {
"summary": "Get Genomic Reports associated with a project",
"description": "Retrieve all genomic reports that you have acess to",
"tags": [
"Projects"
],
"parameters": [
{
"$ref": "#/components/parameters/project"
}
],
"security": [
{
"basicAuth": []
}
],
"responses": {
"200": {
"description": "A list of all reports in a specified project",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/projectReports"
}
}
}
},
"401": {
"$ref": "#/components/responses/UnauthorizedError"
},
"403": {
"description": "Insufficient access to get reports"
}
}
}
},
"/project/{project}/therapeutic-targets": {
"get": {
"summary": "Get All Therapeutic Targets For a Project",
Expand Down Expand Up @@ -6837,6 +6874,29 @@
}
]
},
"projectReports": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ident": {
"type": "string"
},
"patientId": {
"type": "string"
},
"alternateIdentifier": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
}
}
},
"expressionMatrix": {
"type": "array",
"items": {
Expand Down

0 comments on commit f337220

Please sign in to comment.