-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
https://www.ebi.ac.uk/spot/oxo/terms/MeSH:D003924
Also:
curl 'https://www.ebi.ac.uk/spot/oxo/api/search' -i \
-X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"ids" : [ "MeSH:D003924"],
"inputSource" : null,
"mappingTarget" : [ "MONDO" ],
"mappingSource" : [ "MONDO" ],
"distance" : 1
}'
returns:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Type: application/json;charset=UTF-8
Strict-Transport-Security: max-age=0
Date: Fri, 06 Oct 2023 21:45:57 GMT
X-Application-Context: application
Expires: 0
X-XSS-Protection: 1; mode=block
Pragma: no-cache
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
{
"_embedded" : {
"searchResults" : [ {
"queryId" : "MeSH:D003924",
"querySource" : null,
"curie" : "MeSH:D003924",
"label" : "",
"mappingResponseList" : [ {
"curie" : "MONDO:0005148",
"label" : "type 2 diabetes mellitus",
"sourcePrefixes" : [ "MONDO" ],
"targetPrefix" : "MONDO",
"distance" : 1
} ],
"_links" : {
"self" : {
"href" : "https://www.ebi.ac.uk/spot/oxo/api/terms/MeSH:D003924"
},
"mappings" : {
"href" : "https://www.ebi.ac.uk/spot/oxo/api/mappings?fromId=MeSH:D003924"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://www.ebi.ac.uk/spot/oxo/api/search"
}
},
"page" : {
"size" : 20,
"totalElements" : 1,
"totalPages" : 1,
"number" : 0
}
}⏎
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels