1. Get drug

Returns drugs data with project related connections.

1.1. CURL sample 1

$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/test_project/drugs:search?query=aspirin' -X GET \
    --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx"

1.2. CURL sample 2

$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/Some_id/drugs:search?target=ALIAS:993' -X GET \
    --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx"

1.3. Path Parameters

Table 1. /minerva/api/projects/{projectId}/drugs:search
Parameter Description

projectId

project identifier

1.4. Request Parameters

Parameter Description

columns

set of columns (all by default). Available options: name, references, description, synonyms, id, directEvidenceReferences, directEvidence, targets

query

name of chemical that we are searching for

target

target element that we are searching for in format TYPE:ID

1.5. Response Fields

Path Type Description

[].id

object

identifier of the chemical

[].name

string

name

[].description

string

description

[].synonyms

array<string>

list of synonyms

[].brandNames

array<string>

list of brand names

[].bloodBrainBarrier

string

does drug cross blood brain barrier

[].references

array<Reference>

list of references

[].targets

array<Target>

list of targets

[].targets[].name

string

target name

[].targets[].references

array<Reference>

list of target references

[].targets[].targetElements

array<object>

list of elements on the map associated with this target

[].targets[].targetParticipants

array<object>

list of identifiers associated with this target

1.6. Sample Response

[ {
  "name" : "ASPIRIN",
  "references" : [ {
    "link" : "https://www.ebi.ac.uk/chembl/compound/inspect/CHEMBL25",
    "type" : "CHEMBL_COMPOUND",
    "resource" : "CHEMBL25",
    "id" : 0,
    "annotatorClassName" : ""
  } ],
  "description" : null,
  "bloodBrainBarrier" : "N/A",
  "brandNames" : [ ],
  "synonyms" : [ "8-HOUR BAYER", "Acetosalic Acid", "ACETYLSALIC ACID", "ACETYL SALICYLATE", "Acetylsalicylic Acid", "Acetylsalicylic Acid", "ACETYLSALICYLIC ACID", "ACETYLSALICYLIC ACID", "ACETYLSALICYLIC ACID (WHO-IP)", "ACETYLSALICYLICUM ACIDUM", "ACIDUM ACETYLSALICYLICUM", "ACIDUM ACETYLSALICYLICUM (WHO-IP)", "ALKA RAPID", "ANADIN ALL NIGHT", "ANGETTES 75", "Aspirin", "ASPIRIN", "ASPIRIN", "ASPIRIN", "ASPIRIN", "ASPIRIN", "ASPIRIN", "ASPIRIN", "ASPIRIN", "ASPRO CLR", "BAY1019036", "BAYER EXTRA STRENGTH ASPIRIN FOR MIGRAINE PAIN", "BENZOIC ACID, 2-(ACETYLOXY)-", "DANAMEP", "DISPRIN CV", "DISPRIN DIRECT", "DURLAZA", "Ecotrin", "ENPRIN", "Equi-Prin", "GENCARDIA", "LEVIUS", "MAX STRGH ASPRO CLR", "MEASURIN", "MICROPIRIN EC", "NSC-27223", "NSC-406186", "NU-SEALS 300", "NU-SEALS 600", "NU-SEALS 75", "NU-SEALS CARDIO 75", "PAYNOCIL", "PLATET", "PLATET 300", "POSTMI 300", "POSTMI 75", "Salicylic Acid Acetate", "VAZALORE" ],
  "id" : "ASPIRIN",
  "targets" : [ {
    "name" : "Cyclooxygenase",
    "targetParticipants" : [ {
      "link" : "https://www.genenames.org/data/gene-symbol-report/#!/symbol/PTGS2",
      "type" : "HGNC_SYMBOL",
      "resource" : "PTGS2",
      "id" : 0,
      "annotatorClassName" : ""
    }, {
      "link" : "https://www.genenames.org/data/gene-symbol-report/#!/symbol/PTGS1",
      "type" : "HGNC_SYMBOL",
      "resource" : "PTGS1",
      "id" : 0,
      "annotatorClassName" : ""
    } ],
    "references" : [ {
      "link" : "https://pubmed.ncbi.nlm.nih.gov/17258197/",
      "article" : null,
      "type" : "PUBMED",
      "resource" : "17258197",
      "id" : 0,
      "annotatorClassName" : ""
    }, {
      "link" : "https://pubmed.ncbi.nlm.nih.gov/17131625/",
      "article" : null,
      "type" : "PUBMED",
      "resource" : "17131625",
      "id" : 0,
      "annotatorClassName" : ""
    } ],
    "targetElements" : [ ]
  } ]
} ]

2. Get suggested drug queries

Get list of suggested drug queries in the context of the project.

2.1. CURL sample

$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/test_project/drugs/suggestedQueryList' -X GET \
    --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx"

2.2. Path Parameters

Table 2. /minerva/api/projects/{projectId}/drugs/suggestedQueryList
Parameter Description

projectId

project identifier

2.3. Response Fields

Path Type Description

[]

array<string>

list of suggested drug queries

2.4. Sample Response

[ ]