Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into transmart-17.1-RC
Browse files Browse the repository at this point in the history
  • Loading branch information
gijskant committed Jul 24, 2017
2 parents 930fd71 + 2f0d1f0 commit 97677e2
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 192 deletions.
172 changes: 105 additions & 67 deletions open-api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -689,32 +689,35 @@
],
"parameters": [
{
"name": "type",
"required": true,
"in": "body",
"description": "see GET parameters",
"type": "string"
},
{
"name": "constraint",
"name": "body",
"required": true,
"in": "body",
"description": "see GET parameters",
"type": "string"
},
{
"name": "biomarker_constraint",
"required": false,
"in": "body",
"description": "see GET parameters",
"type": "string"
},
{
"name": "projection",
"required": false,
"in": "body",
"description": "see GET parameters",
"type": "string"
"description": "The parameters",
"schema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "see GET parameters"
},
"constraint": {
"type": "string",
"description": "see GET parameters"
},
"biomarker_constraint": {
"type": "string",
"description": "see GET parameters"
},
"projection": {
"type": "string",
"description": "see GET parameters"
}
},
"required": [
"type",
"constraint"
]
}
}
],
"responses": {
Expand Down Expand Up @@ -787,18 +790,25 @@
],
"parameters": [
{
"name": "constraint",
"required": true,
"in": "body",
"description": "see GET parameters",
"type": "string"
},
{
"name": "type",
"required": true,
"name": "body",
"in": "body",
"description": "see GET parameters. Can be either a string or an array of strings.",
"type": "string"
"schema": {
"type": "object",
"properties": {
"constraint": {
"type": "string",
"description": "see GET parameters"
},
"type": {
"type": "string",
"description": "see GET parameters. Can be either a string or an array of strings."
}
},
"required": [
"constraint",
"type"
]
}
}
],
"responses": {
Expand Down Expand Up @@ -862,11 +872,21 @@
],
"parameters": [
{
"name": "constraint",
"name": "body",
"required": true,
"in": "body",
"description": "see GET parameters",
"type": "string"
"schema": {
"type": "object",
"properties": {
"constraint": {
"type": "string",
"description": "see GET parameters"
}
},
"required": [
"constraint"
]
}
}
],
"responses": {
Expand Down Expand Up @@ -926,11 +946,21 @@
],
"parameters": [
{
"name": "constraint",
"name": "body",
"required": true,
"in": "body",
"description": "see GET parameters",
"type": "string"
"schema": {
"type": "object",
"properties": {
"constraint": {
"type": "string",
"description": "see GET parameters"
}
},
"required": [
"constraint"
]
}
}
],
"responses": {
Expand Down Expand Up @@ -1675,29 +1705,35 @@
"type": "string"
},
{
"name": "typeOfSet",
"required": true,
"in": "body",
"description": "specifies the type of the set you want to retrieve. For patient_set specify `patient`, for observation_set specify `observation`",
"type": "string"
},
{
"name": "id",
"name": "body",
"required": true,
"in": "body",
"description": "IDs of the set specified by `typeOfSet`. To specify more than one value, multiple parameter instances format is required instead of multiple values for a single instance. Example: `id=3425&id=98532&id=...`.",
"type": "array",
"collectionFormat": "multi",
"items": {
"type": "integer"
"description": "contains json object to initialize export job.",
"schema": {
"type": "object",
"properties": {
"typeOfSet": {
"type": "string",
"description": "specifies the type of the set you want to retrieve. For patient_set specify `patient`, for observation_set specify `observation`"
},
"id": {
"type": "array",
"description": "IDs of the set specified by `typeOfSet`. To specify more than one value, multiple parameter instances format is required instead of multiple values for a single instance. Example: `id=3425&id=98532&id=...`.",
"items": {
"type": "integer"
}
},
"elements": {
"type": "string",
"description": "json that specifies the list of pairs: `[{dataType:${dataType}, format:$(fileFormat}]`, where `dataType` is a type of the data you want to retrieve, either `clinical` for clinical data, or one of the supported high dimensional data types and `format` is one of the supported file formats you want to export current data type to. Example: `[{\"dataType\":clinical, \"format\":TSV},{\"dataType\":rnaseq_transcript, \"format\":TSV}]`."
}
},
"required": [
"typeOfSet",
"id",
"elements"
]
}
},
{
"name": "elements",
"required": true,
"in": "body",
"description": "json that specifies the list of pairs: `[{dataType:${dataType}, format:$(fileFormat}]`, where `dataType` is a type of the data you want to retrieve, either `clinical` for clinical data, or one of the supported high dimensional data types and `format` is one of the supported file formats you want to export current data type to. Example: `[{\"dataType\":clinical, \"format\":TSV},{\"dataType\":rnaseq_transcript, \"format\":TSV}]`.",
"type": "string"
}
],
"responses": {
Expand Down Expand Up @@ -1859,21 +1895,18 @@
"type": "object",
"properties": {
"id": {
"type": "string",
"required": true
"type": "string"
},
"prefix": {
"type": "string",
"required": true,
"description": "the url prefix where this api can be found"
},
"version": {
"type": "string",
"description": "the full version string"
},
"major": {
"type": "integer",
"required": true
"type": "integer"
},
"minor": {
"type": "integer"
Expand All @@ -1893,7 +1926,12 @@
}
}
}
}
},
"required": [
"id",
"prefix",
"major"
]
},
"v1observation": {
"type": "object",
Expand Down
Loading

0 comments on commit 97677e2

Please sign in to comment.