Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing label for MeSH:D003924 #76

Open
ramiromagno opened this issue Oct 6, 2023 · 0 comments
Open

Missing label for MeSH:D003924 #76

ramiromagno opened this issue Oct 6, 2023 · 0 comments

Comments

@ramiromagno
Copy link

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
  }
}⏎ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant