mg-rest-file server

Methods

class rest.app.EndPoints[source]

Class to handle the http requests for returning information about the end points

get()[source]

GET list all end points

List of all of the end points for the current service.

Example

1
curl -X GET http://localhost:5003/mug/api/dmp/file
class rest.app.File[source]

Class to handle the http requests for retrieving the data from a file. This class is able to handle big[Bed|Wig] file and serve back the matching region in the relevant format. It is also possible to stream back the whole file of any type for use in other tools.

class rest.app.FileRegion[source]

Class to handle the http requests for retrieving the data from a file. This class is able to handle big[Bed|Wig] file and serve back the matching region in the relevant format. It is also possible to stream back the whole file of any type for use in other tools.

class rest.app.Ping[source]

Class to handle the http requests to ping a service

get()[source]

GET Status

List the current status of the service along with the relevant information about the version.

Example

1
curl -X GET http://localhost:5003/mug/api/dmp/ping