Added dummy API documentation

Change-Id: I13e831f93702c97fdaffeb654b80f44690887ea8
This commit is contained in:
aviau 2014-08-15 11:06:36 -04:00
parent 4a2dff9c96
commit f80b5f2050
4 changed files with 22 additions and 1 deletions

View File

@ -2,12 +2,13 @@
Welcome to Surveil's documentation!
===================================
Contents:
Table of Contents:
.. toctree::
:maxdepth: 2
readme
webapi/index
Indices and tables
==================

View File

@ -0,0 +1,8 @@
=========
Web API
=========
.. toctree::
:maxdepth: 2
v1

11
doc/source/webapi/v1.rst Normal file
View File

@ -0,0 +1,11 @@
.. docbookrestapi
============
V1 Web API
============
Hello
=====
.. rest-controller:: surveil.api.controllers.v1.hello:HelloController
:webprefix: /v1/hello

View File

@ -6,4 +6,5 @@ class HelloController(rest.RestController):
@pecan.expose()
def get(self):
"""Says hello."""
return "Hello World!"