Lists of the types supported by the instance. All of them are served from the /new_api/configuration/ path.

1. List identifiers.org types

The identifier types (UniProt, ChEBI, HGNC, GO, …​) that annotations of elements and reactions can point to, so this is the vocabulary behind the annotations sub-resources. Every entry gives the name used in the API, the registry identifier assigned by identifiers.org and the URIs recognised for that database. The response lists every supported type (several hundred); the samples below are shortened to the first three entries.

1.1. HTTP request

GET /minerva/new_api/configuration/identifier_types/ HTTP/1.1

1.2. CURL sample

$ curl 'https://minerva-service.lcsb.uni.lu/minerva/new_api/configuration/identifier_types/' -X GET

1.3. HTTP response

HTTP/1.1 200 OK

1.4. Response Fields

Path Type Description

[].name

String

enum name of the identifier type

[].commonName

String

human readable name of the identifier type

[].homepage

String

url to database homepage

[].registryIdentifier

String

unique identifier used by identifiers.org to reference this type

[].uris

Array

list of uris used by this identifier type

1.5. Sample Response

[ {
  "name" : "_3DMET",
  "commonName" : "3DMET",
  "homepage" : "http://www.3dmet.dna.affrc.go.jp/",
  "registryIdentifier" : " MIR:00000066",
  "uris" : [ "urn:miriam:3dmet", "http://identifiers.org/3dmet/", "http://identifiers.org/3dmet", "https://identifiers.org/3dmet/", "https://identifiers.org/3dmet" ]
}, {
  "name" : "ABS",
  "commonName" : "ABS",
  "homepage" : "http://genome.crg.es/datasets/abs2005/",
  "registryIdentifier" : "MIR:00000277",
  "uris" : [ "urn:miriam:abs", "http://identifiers.org/abs/", "http://identifiers.org/abs", "https://identifiers.org/abs/", "https://identifiers.org/abs" ]
}, {
  "name" : "ACEVIEW_WORM",
  "commonName" : "Aceview Worm",
  "homepage" : "https://www.ncbi.nlm.nih.gov/IEB/Research/Acembly/index.html?worm",
  "registryIdentifier" : "MIR:00000282",
  "uris" : [ "urn:miriam:aceview.worm", "http://identifiers.org/aceview.worm/", "http://identifiers.org/aceview.worm", "https://identifiers.org/aceview.worm/", "https://identifiers.org/aceview.worm" ]
} ]

2. List map formats

The map file formats this instance can parse, which are the formats accepted when a project is created from a file. The handler value identifies the converter and corresponds to the parser that has to be selected on upload.

2.1. HTTP request

GET /minerva/new_api/configuration/map_formats/ HTTP/1.1

2.2. CURL sample

$ curl 'https://minerva-service.lcsb.uni.lu/minerva/new_api/configuration/map_formats/' -X GET

2.3. HTTP response

HTTP/1.1 200 OK

2.4. Response Fields

Path Type Description

[].name

String

human readable name of the map format

[].handler

String

Java class used for import/export from the map format

[].extension

String

default file extension

[].extensions

Array

all file extensions supported by this format

2.5. Sample Response

[ {
  "name" : "CellDesigner SBML",
  "extension" : "xml",
  "extensions" : [ "xml" ],
  "handler" : "CELL_DESIGNER"
}, {
  "name" : "SBGN-ML",
  "extension" : "sbgn",
  "extensions" : [ "sbgn" ],
  "handler" : "SBGN_ML"
}, {
  "name" : "GPML",
  "extension" : "gpml",
  "extensions" : [ "gpml" ],
  "handler" : "GPML"
}, {
  "name" : "SBML",
  "extension" : "xml",
  "extensions" : [ "xml", "sbml" ],
  "handler" : "SBML"
} ]

3. List image formats

The formats a map can be rendered into (PNG, PDF, SVG), together with the file extension used for each. The generator value identifies the renderer producing that format.

3.1. HTTP request

GET /minerva/new_api/configuration/image_formats/ HTTP/1.1

3.2. CURL sample

$ curl 'https://minerva-service.lcsb.uni.lu/minerva/new_api/configuration/image_formats/' -X GET

3.3. HTTP response

HTTP/1.1 200 OK

3.4. Response Fields

Path Type Description

[].name

String

human readable name of the image format

[].generator

String

enum that identifies the image format generator

[].extension

String

file extension used for this format

3.5. Sample Response

[ {
  "name" : "PNG image",
  "generator" : "PNG_GENERATOR",
  "extension" : "png"
}, {
  "name" : "PDF image",
  "generator" : "PDF_GENERATOR",
  "extension" : "pdf"
}, {
  "name" : "SVG image",
  "generator" : "SVG_GENERATOR",
  "extension" : "svg"
} ]