@metabohub/forum-library
Version:
<!-- Put your badges here: --> [](https://forge.inrae.fr/metabohub/forvm/mth-forvm-lib/-/commits/dev) [![coverage report](https://forge.inrae.fr/metabohub/forv
618 lines • 20.7 kB
JSON
{
"openapi": "3.0.0",
"info": {
"title": "Forum API",
"version": "2.0"
},
"servers": [
{
"url": "https://unh-pfem-services.ara.inrae.fr/forum-api/",
"description": "forum api - prod"
},
{
"url": "https://metexplore.toulouse.inrae.fr/metexplore-api/",
"description": "forum api - dev"
}
],
"paths": {
"/mesh_chemont/{idMesh}/": {
"get": {
"tags": [
"chemont"
],
"parameters": [
{
"name": "idMesh",
"in": "path",
"description": " idMesh",
"required": true,
"schema": {
"type": "string"
},
"example": "D003404"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/chemont_mesh/{idChemont}/": {
"get": {
"tags": [
"chemont"
],
"parameters": [
{
"name": "idChemont",
"in": "path",
"description": "idChemont",
"required": true,
"schema": {
"type": "string"
},
"example": "3557"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/mesh_pubchem/{idMesh}/": {
"get": {
"tags": [
"pubchem"
],
"parameters": [
{
"name": "idMesh",
"in": "path",
"description": " idMesh",
"required": true,
"schema": {
"type": "string"
},
"example": "D003404"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/pubchem_mesh/{idPubchem}/": {
"get": {
"tags": [
"pubchem"
],
"parameters": [
{
"name": "idPubchem",
"in": "path",
"description": "idPubchem",
"required": true,
"schema": {
"type": "integer"
},
"example": "5252015"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/mesh_chebi/{idMesh}/": {
"get": {
"tags": [
"chebi"
],
"parameters": [
{
"name": "idMesh",
"in": "path",
"description": " idMesh",
"required": true,
"schema": {
"type": "string"
},
"example": "D003404"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/chebi_mesh/{idChebi}/": {
"get": {
"tags": [
"chebi"
],
"parameters": [
{
"name": "idChebi",
"in": "path",
"description": "idChebi",
"required": true,
"schema": {
"type": "string"
},
"example": "48679"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/mesh_label/{idMesh}/": {
"get": {
"tags": [
"labels"
],
"parameters": [
{
"name": "idMesh",
"in": "path",
"description": " idMesh",
"required": true,
"schema": {
"type": "string"
},
"example": "D003404"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/mesh_tree/{idMesh}/": {
"get": {
"tags": [
"labels"
],
"parameters": [
{
"name": "idMesh",
"in": "path",
"description": " idMesh",
"required": true,
"schema": {
"type": "string"
},
"example": "D003404"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/chemont_label/{idChemont}/": {
"get": {
"tags": [
"labels"
],
"parameters": [
{
"name": "idChemont",
"in": "path",
"description": "idChemont",
"required": true,
"schema": {
"type": "string"
},
"example": "3557"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/pubchem_label/{idPubchem}/": {
"get": {
"tags": [
"labels"
],
"parameters": [
{
"name": "idPubchem",
"in": "path",
"description": "idPubchem",
"required": true,
"schema": {
"type": "integer"
},
"example": "72849"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/chebi_label/{idChebi}/": {
"get": {
"tags": [
"labels"
],
"parameters": [
{
"name": "idChebi",
"in": "path",
"description": "idChebi",
"required": true,
"schema": {
"type": "string"
},
"example": "64392"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/pubchem_fuzzy/{query}/": {
"get": {
"tags": [
"pubchem"
],
"parameters": [
{
"name": "query",
"in": "path",
"description": "the user's query",
"required": true,
"schema": {
"type": "string"
},
"example": "Testosterone"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/chebi_fuzzy/{query}/": {
"get": {
"tags": [
"chebi"
],
"parameters": [
{
"name": "query",
"in": "path",
"description": "the user's query",
"required": true,
"schema": {
"type": "string"
},
"example": "Testosterone"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/chemont_fuzzy/{query}/": {
"get": {
"tags": [
"chemont"
],
"parameters": [
{
"name": "query",
"in": "path",
"description": "the user's query",
"required": true,
"schema": {
"type": "string"
},
"example": "Testosterone"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/mesh_fuzzy/{query}/": {
"get": {
"tags": [
"mesh"
],
"parameters": [
{
"name": "query",
"in": "path",
"description": "the user's query",
"required": true,
"schema": {
"type": "string"
},
"example": "Testosterone"
}
],
"responses": {
"200": {
"description": "forum",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
}
},
"components": {
"schemas": {
"Label": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "this label's id",
"example": "a01234"
},
"MESH": {
"type": "string",
"description": "this label's MESH id",
"example": "a01234"
},
"CID": {
"type": "string",
"description": "this label's CID id",
"example": "a01234"
},
"CHEMONT": {
"type": "string",
"description": "this label's CHEMONT id",
"example": "a01234"
},
"CHEBI": {
"type": "string",
"description": "this label's CHEBI id",
"example": "a01234"
},
"name": {
"type": "string",
"description": "this label's name",
"example": "a01234"
}
}
},
"Mesh": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "this label's id",
"example": "a01234"
},
"CHEBI": {
"type": "string",
"description": "this label's CHEBI id",
"example": "a01234"
},
"CHEMONT": {
"type": "string",
"description": "this label's CHEMONT id",
"example": "a01234"
},
"CID": {
"type": "string",
"description": "this label's CID id",
"example": "a01234"
},
"MESH": {
"type": "string",
"description": "this label's MESH id",
"example": "a01234"
},
"COOC": {
"type": "string",
"description": "this label's COOC id",
"example": "a01234"
},
"TOTAL_PMID_CHEMONT": {
"type": "string",
"description": "this label's TOTAL_PMID_CHEMONT nb",
"example": "a01234"
},
"TOTAL_PMID_CID": {
"type": "string",
"description": "this label's TOTAL_PMID_CID nb",
"example": "a01234"
},
"TOTAL_PMID_MESH": {
"type": "string",
"description": "this label's TOTAL_PMID_MESH nb",
"example": "a01234"
},
"TOTAL_PMID": {
"type": "string",
"description": "this label's TOTAL_PMID nb",
"example": "a01234"
},
"TOTAL_PMID_CHEBI": {
"type": "string",
"description": "this label's TOTAL_PMID_CHEBI nb",
"example": "01234"
},
"odds_ratio": {
"type": "string",
"description": "this label's odds_ratio ",
"example": "a01234"
},
"fold_change": {
"type": "string",
"description": "this label's fold_change ",
"example": "a01234"
},
"chisq_stat": {
"type": "string",
"description": "this label's chisq_stat ",
"example": "a01234"
},
"q_value": {
"type": "string",
"description": "this label's q_value ",
"example": "a01234"
},
"n_weak": {
"type": "string",
"description": "this label's n_weak ",
"example": "a01234"
},
"nameMesh": {
"type": "string",
"description": "this label's nameMesh",
"example": "a01234"
},
"namePubchem": {
"type": "string",
"description": "this label's namePubchem",
"example": "a01234"
},
"nameChemont": {
"type": "string",
"description": "this label's nameChemont",
"example": "a01234"
},
"nameChebi": {
"type": "string",
"description": "this label's nameChebi",
"example": "a01234"
},
"tree_root": {
"type": "string",
"description": "this label's tree_root",
"example": "a01234"
},
"tree_concat": {
"type": "string",
"description": "this label's tree_concat",
"example": "a01234"
}
}
},
"inlineResponse404": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "this error message",
"example": "a01234"
}
}
}
}
}
}