All URIs are relative to https://localhost/api
Method | HTTP request | Description |
---|---|---|
getAnnotate | GET /nlp/annotate/{text} | Returns list of matches |
[Association] getAnnotate(text, opts)
Returns list of matches
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.NlpannotateApi();
var text = "text_example"; // String |
var opts = {
'category': ["category_example"] // [String] | E.g. phenotype
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getAnnotate(text, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
text | String | ||
category | [String] | E.g. phenotype | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json