-
Notifications
You must be signed in to change notification settings - Fork 2
/
cohortExplorerApi.raml
70 lines (60 loc) · 1.46 KB
/
cohortExplorerApi.raml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#%RAML 1.0
title: CohortExplorer
version: .1
baseUri: https://carnival
types:
TestType:
type: object
properties:
id: number
optional?: string
expanded:
type: object
properties:
count: number
/search:
post:
description: Perform a semantic search for the provided term
/criteria:
/disease:
/graph:
post:
description: Get the graph context for a disease iri
/createCohort:
post:
description: Create a disease criteria cohort
/lab:
/graph:
post:
description: Get the graph context for a lab term
/createCohort:
post:
description: Create a lab criteria cohort
/cohort:
get:
description: return a list of all cohorts, can specify filter parameters
/{cohortId}:
get:
description: Return the details of a specific cohort
post:
description: Modify an existing cohort
delete:
description: Attempt to delete an existing cohort
/cohortQuery:
/graph:
get:
description: Get the graph of the current cohort query
/term:
get:
description: Get all terms in current query
post:
description: Add term to query (cohort1, cohort2, operation)
/{termId}:
post:
description: Modify an existing graph query term
/venn:
post:
description: Get the venn diagram for 2 cohorts
/history:
post:
description: Get the history of all user modifications to the cohort query