"""/ resource.
"""
- DOC_URI = "/"
-
def GET(self):
"""Show the list of mapped resources.
class R_2(baserlib.R_Generic):
- """ /2 resourse.
+ """ /2 resource, the root of the version 2 API.
"""
- DOC_URI = "/2"
-
def GET(self):
"""Show the list of mapped resources.
"/2/jobs": rlib2.R_2_jobs,
"/2/nodes": rlib2.R_2_nodes,
re.compile(r'^/2/nodes/([\w\._-]+)$'): rlib2.R_2_nodes_name,
+ re.compile(r'^/2/nodes/([\w\._-]+)/tags$'): rlib2.R_2_nodes_name_tags,
"/2/instances": rlib2.R_2_instances,
re.compile(r'^/2/instances/([\w\._-]+)$'): rlib2.R_2_instances_name,
re.compile(r'^/2/instances/([\w\._-]+)/tags$'): rlib2.R_2_instances_name_tags,