Package dakweb :: Module dakwebserver
[hide private]
[frames] | no frames]

Module dakwebserver

source code

Main script to run the dakweb server and also to provide the list_paths and path_help functions


Contact: Debian FTPMaster <ftpmaster@debian.org>

Copyright: 2014 Mark Hymers <mhy@debian.org>

License: GNU General Public License version 2 or later

Functions [hide private]
 
root_path()
Returns a useless welcome message
source code
 
list_paths()
Returns a list of available paths
source code
 
path_help(path=None)
Redirects to the API description containing the path_help
source code

Imports: json, bottle, redirect, DBConn, QueryRegister, archive, binary, madison, source, suite


Function Details [hide private]

root_path()

source code 

Returns a useless welcome message

Decorators:
  • @bottle.route("/")

list_paths()

source code 

Returns a list of available paths

Decorators:
  • @bottle.route("/list_paths")

path_help(path=None)

source code 

Redirects to the API description containing the path_help

Decorators:
  • @bottle.route("/path_help/")