Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 1.87 KB

File metadata and controls

63 lines (44 loc) · 1.87 KB

PathwaysApi

All URIs are relative to https://metexplore.toulouse.inrae.fr/metexplore3-api

Method HTTP request Description
GETPATHWAYS GET /pathways get Pathway

GETPATHWAYS

PathwaysResponse GETPATHWAYS(id = var.id, id_network = var.id_network, id_collection = var.id_collection)

get Pathway

get from Pathway

Example

library(metexplore3api)

# get Pathway
#
# prepare function argument(s)
var_id <- 56 # integer | the id for the Pathway (Optional)
var_id_network <- 56 # integer | the id_network for the Pathway (Optional)
var_id_collection <- 56 # integer | the id_collection for the Pathway (Optional)

api_instance <- PathwaysApi$new()
# to save the result into a file, simply add the optional `data_file` parameter, e.g.
# result <- api_instance$GETPATHWAYS(id = var_id, id_network = var_id_network, id_collection = var_id_collectiondata_file = "result.txt")
result <- api_instance$GETPATHWAYS(id = var_id, id_network = var_id_network, id_collection = var_id_collection)
dput(result)

Parameters

Name Type Description Notes
id integer the id for the Pathway [optional]
id_network integer the id_network for the Pathway [optional]
id_collection integer the id_collection for the Pathway [optional]

Return type

PathwaysResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 successful operation -
400 error in the query -
401 not authorized -
404 not found -