Endpoint of the REST API retrieves ReMap peaks data for specified genomic coordinates
Path Parameters
The following parameters should be included in the URL path.
Parameter
Description
versionrequired
assemblyrequired
datatyperequired
chrrequired
startrequired
endrequired
# Load the schema document
$ coreapi get http://remap-rest.univ-amu.fr/docs/
# Interact with the API endpoint
$ coreapi action api V1 get_peaks read -p version=... -p assembly=... -p datatype=... -p chr=... -p start=... -p end=...
varcoreapi=window.coreapi// Loaded by `coreapi.js`varschema=window.schema// Loaded by `schema.js`// Initialize a clientvarclient=newcoreapi.Client()// Interact with the API endpointvaraction=["api","V1 > get_peaks > read"]varparams={version:...,assembly:...,datatype:...,chr:...,start:...,end:...,}client.action(schema,action,params).then(function(result){// Return value is in 'result'})
importcoreapi# Initialize a client & load the schema documentclient=coreapi.Client()schema=client.get("http://remap-rest.univ-amu.fr/docs/")# Interact with the API endpointaction=["api","V1 > get_peaks > read"]params={"version":...,"assembly":...,"datatype":...,"chr":...,"start":...,"end":...,}result=client.action(schema,action,params=params)
Endpoint of the REST API retrieves ReMap peaks data for specified genomic coordinates
Path Parameters
The following parameters should be included in the URL path.
Parameter
Description
versionrequired
assemblyrequired
datatyperequired
chrrequired
startrequired
endrequired
formatrequired
# Load the schema document
$ coreapi get http://remap-rest.univ-amu.fr/docs/
# Interact with the API endpoint
$ coreapi action api V1 get_peaks read_0 -p version=... -p assembly=... -p datatype=... -p chr=... -p start=... -p end=... -p format=...
varcoreapi=window.coreapi// Loaded by `coreapi.js`varschema=window.schema// Loaded by `schema.js`// Initialize a clientvarclient=newcoreapi.Client()// Interact with the API endpointvaraction=["api","V1 > get_peaks > read_0"]varparams={version:...,assembly:...,datatype:...,chr:...,start:...,end:...,format:...,}client.action(schema,action,params).then(function(result){// Return value is in 'result'})
importcoreapi# Initialize a client & load the schema documentclient=coreapi.Client()schema=client.get("http://remap-rest.univ-amu.fr/docs/")# Interact with the API endpointaction=["api","V1 > get_peaks > read_0"]params={"version":...,"assembly":...,"datatype":...,"chr":...,"start":...,"end":...,"format":...,}result=client.action(schema,action,params=params)
V1 > get_peaks > read_0
api_swagger
list
GET/api_swagger
# Load the schema document
$ coreapi get http://remap-rest.univ-amu.fr/docs/
# Interact with the API endpoint
$ coreapi action api_swagger list
varcoreapi=window.coreapi// Loaded by `coreapi.js`varschema=window.schema// Loaded by `schema.js`// Initialize a clientvarclient=newcoreapi.Client()// Interact with the API endpointvaraction=["api_swagger","list"]client.action(schema,action).then(function(result){// Return value is in 'result'})
importcoreapi# Initialize a client & load the schema documentclient=coreapi.Client()schema=client.get("http://remap-rest.univ-amu.fr/docs/")# Interact with the API endpointaction=["api_swagger","list"]result=client.action(schema,action)
list
hello
list
GET/hello/
# Load the schema document
$ coreapi get http://remap-rest.univ-amu.fr/docs/
# Interact with the API endpoint
$ coreapi action hello list
varcoreapi=window.coreapi// Loaded by `coreapi.js`varschema=window.schema// Loaded by `schema.js`// Initialize a clientvarclient=newcoreapi.Client()// Interact with the API endpointvaraction=["hello","list"]client.action(schema,action).then(function(result){// Return value is in 'result'})
importcoreapi# Initialize a client & load the schema documentclient=coreapi.Client()schema=client.get("http://remap-rest.univ-amu.fr/docs/")# Interact with the API endpointaction=["hello","list"]result=client.action(schema,action)
list
schema
list
GET/schema/
# Load the schema document
$ coreapi get http://remap-rest.univ-amu.fr/docs/
# Interact with the API endpoint
$ coreapi action schema list
varcoreapi=window.coreapi// Loaded by `coreapi.js`varschema=window.schema// Loaded by `schema.js`// Initialize a clientvarclient=newcoreapi.Client()// Interact with the API endpointvaraction=["schema","list"]client.action(schema,action).then(function(result){// Return value is in 'result'})
importcoreapi# Initialize a client & load the schema documentclient=coreapi.Client()schema=client.get("http://remap-rest.univ-amu.fr/docs/")# Interact with the API endpointaction=["schema","list"]result=client.action(schema,action)