~allenap/maas/xxx-a-thon

« back to all changes in this revision

Viewing changes to src/maasserver/api/doc_handler.py

  • Committer: LaMont Jones
  • Date: 2016-03-07 23:20:52 UTC
  • mfrom: (4657.1.84 maas)
  • mto: (4657.1.93 maas)
  • mto: This revision was merged to the branch mainline in revision 4660.
  • Revision ID: lamont@canonical.com-20160307232052-rgfxbq7dujj6s093
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2014-2015 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2014-2016 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
"""Restful MAAS API.
43
43
methods will take one special parameter, called `op`, to indicate what it is
44
44
you want to do.
45
45
 
46
 
For example, to list all nodes, you might GET "/api/2.0/nodes/?op=list".
 
46
For example, to list all machines, you might GET "/api/2.0/machines".
47
47
"""
48
48
 
49
49
__all__ = [