src.resources
index
/var/lib/jenkins/workspace/resmon_auth_doc/src/resources.py

 
Modules
       
json
flask_restful.reqparse

 
Classes
       
flask_restful.Resource(flask.views.MethodView)
Index
SecretResource
UserLogin
UserRegistration

 
class Index(flask_restful.Resource)
    Represents an abstract RESTful resource. Concrete resources should
extend from this class and expose methods for each supported HTTP
method. If a resource is invoked with an unsupported HTTP method,
the API will return a response with status 405 Method Not Allowed.
Otherwise the appropriate method is called and passed all arguments
from the url rule used when adding the resource to an Api instance. See
:meth:`~flask_restful.Api.add_resource` for details.
 
 
Method resolution order:
Index
flask_restful.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self)
option(self)

Data and other attributes defined here:
methods = {'GET'}

Methods inherited from flask_restful.Resource:
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.

Data and other attributes inherited from flask_restful.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class SecretResource(flask_restful.Resource)
    Represents an abstract RESTful resource. Concrete resources should
extend from this class and expose methods for each supported HTTP
method. If a resource is invoked with an unsupported HTTP method,
the API will return a response with status 405 Method Not Allowed.
Otherwise the appropriate method is called and passed all arguments
from the url rule used when adding the resource to an Api instance. See
:meth:`~flask_restful.Api.add_resource` for details.
 
 
Method resolution order:
SecretResource
flask_restful.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
get(self)
option(self)

Data and other attributes defined here:
methods = {'GET'}

Methods inherited from flask_restful.Resource:
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.

Data and other attributes inherited from flask_restful.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class UserLogin(flask_restful.Resource)
    Represents an abstract RESTful resource. Concrete resources should
extend from this class and expose methods for each supported HTTP
method. If a resource is invoked with an unsupported HTTP method,
the API will return a response with status 405 Method Not Allowed.
Otherwise the appropriate method is called and passed all arguments
from the url rule used when adding the resource to an Api instance. See
:meth:`~flask_restful.Api.add_resource` for details.
 
 
Method resolution order:
UserLogin
flask_restful.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
option(self)
post(self)

Data and other attributes defined here:
methods = {'POST'}

Methods inherited from flask_restful.Resource:
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.

Data and other attributes inherited from flask_restful.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
class UserRegistration(flask_restful.Resource)
    Represents an abstract RESTful resource. Concrete resources should
extend from this class and expose methods for each supported HTTP
method. If a resource is invoked with an unsupported HTTP method,
the API will return a response with status 405 Method Not Allowed.
Otherwise the appropriate method is called and passed all arguments
from the url rule used when adding the resource to an Api instance. See
:meth:`~flask_restful.Api.add_resource` for details.
 
 
Method resolution order:
UserRegistration
flask_restful.Resource
flask.views.MethodView
flask.views.View
builtins.object

Methods defined here:
option(self)
post(self)

Data and other attributes defined here:
methods = {'POST'}

Methods inherited from flask_restful.Resource:
dispatch_request(self, *args, **kwargs)
Subclasses have to override this method to implement the
actual view function code.  This method is called with all
the arguments from the URL rule.

Data and other attributes inherited from flask_restful.Resource:
method_decorators = []
representations = None

Class methods inherited from flask.views.View:
as_view(name, *class_args, **class_kwargs) from flask.views.MethodViewType
Converts the class into an actual view function that can be used
with the routing system.  Internally this generates a function on the
fly which will instantiate the :class:`View` on each request and call
the :meth:`dispatch_request` method on it.
 
The arguments passed to :meth:`as_view` are forwarded to the
constructor of the class.

Data descriptors inherited from flask.views.View:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from flask.views.View:
decorators = ()
provide_automatic_options = None

 
Functions
       
create_response(body, status=None)

 
Data
        parser = <flask_restful.reqparse.RequestParser object>