-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimplifier-package-api.opencollection.json
More file actions
103 lines (103 loc) · 3.57 KB
/
Copy pathsimplifier-package-api.opencollection.json
File metadata and controls
103 lines (103 loc) · 3.57 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"opencollection": "1.0.0",
"info": {
"name": "Simplifier.net FHIR Package API",
"version": "1.0.1"
},
"items": [
{
"info": {
"name": "Search FHIR packages",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://packages.simplifier.net/catalog",
"params": [
{
"name": "name",
"value": "",
"type": "query",
"description": "Search by (part of) a package name"
},
{
"name": "version",
"value": "",
"type": "query",
"description": "Search for packages with a version containing this term"
},
{
"name": "canonical",
"value": "",
"type": "query",
"description": "Search for packages or resource contained in it with this term in their canonical"
},
{
"name": "pkgcanonical",
"value": "http://hl7.org/fhir/us/core",
"type": "query",
"description": "Search for packages with this exact canonical"
},
{
"name": "fhirVersion",
"value": "",
"type": "query",
"description": "Limit search by FHIR version"
},
{
"name": "prerelease",
"value": "",
"type": "query",
"description": "Whether to include or exclude prerelease package versions"
}
]
},
"docs": "Search for FHIR packages by name, canonical and other attributes.\n* Can be used for populating intellisense dropdowns for package search.\n* Does not intend to follow NPM in all aspects and adds extra FHIR specific searches, like canonicals and FHIR versions.\n\nKnown limitations:\n* Packages from which all versions are marked as `unlisted` are not returned.\n* The attribute names of the return value are documented here as camelCase, but are in fact currently PascalCase.\n"
},
{
"info": {
"name": "List package versions.",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://packages.simplifier.net/:package-name",
"params": [
{
"name": "package-name",
"value": "hl7.fhir.us.core",
"type": "path",
"description": "Name of the package"
}
]
},
"docs": "Endpoint to retrieve all versions for a package name.\n* The payload is compliant with the NPM package version listing.\n* The `dist-tags` element will provide tags on certain versions, like the label of which version is the `latest`.\n* In calculating `latest` the highest stable semver version is used, not the most recently published version.\n* If an author has indicated that the package should no longer be used, the element `unlisted` will be populated for a version.\n"
},
{
"info": {
"name": "Download package version",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://packages.simplifier.net/:package-name/:package-version",
"params": [
{
"name": "package-name",
"value": "hl7.fhir.us.core",
"type": "path",
"description": "Name of the package"
},
{
"name": "package-version",
"value": "3.1.1",
"type": "path",
"description": "Version of the package"
}
]
},
"docs": "Download a specific package version.\n"
}
],
"bundled": true
}