CTS2-LE REST API: General
Zur Navigation springen
Zur Suche springen
Inhaltsverzeichnis
GET service/manage/index/suggester/update
Updates the suggester index.
- Request Body
-
- Query Parameters
-
- Responses
text/plain- message
200: no message500: error message during update
GET service/manage/index/update
Updates the search index for code systems.
- Request Body
-
- Query Parameters
-
- Responses
text/plain- message
200: no message500: error message during update
GET service/crud/cts2/resources
List all resources.
- Request Body
-
- Query Parameters
-
- Responses
application/json
{
"resources": [
{
"type": <one of (CodeSystemVersionCatalogEntry, ValueSetDefinition, MapVersion[MultiGroup])>,
"groupName": <group name (used in grouping.json)>,
"resourceId": <unique internal resource identifier, e.g. 'Snomed-20220331'>,
"resourceUris": [
<resource uris, e.g. 'http://snomed.info/sct', 'urn:oid:2.16.840.1.113883.6.96'>
],
"versionId": <version identifier, e.g. '20220331'>,
"defaultVersion": <true iff this is the default version>,
"graphName": <graph name, internal>
},
...
]
}
200:"message": "ok"500:"message": "<error message>"
DELETE service/crud/cts2/resource
Deletes a resource (code system or value set). Afterwards a suggester update (see above) has to be called.
- Request Body
-
- Query Parameters
- uri (type:
string, occurrence:required)- uri of the resource. Note that the pair (
uri,version) uniquely identifies a resource within CTS2-LE
- uri of the resource. Note that the pair (
- version (type:
string, occurrence:required)- version of the resource
- Responses
application/json
{
"message": "..."
}
200:"message": "ok"500:"message": "<error message>"