bottle api skeleton