congress.api.versions module

class congress.api.versions.VersionV1Handler(path_regex)

Bases: congress.api.webservice.AbstractApiHandler

handle_request(request)

Handle a REST request.

Param

request: A webob request object.

Returns

A webob response object.

class congress.api.versions.Versions

Bases: object

classmethod factory(global_config, **local_config)
class congress.api.versions.ViewBuilder(base_url)

Bases: object

build_choices(versions, request)
build_version(version)
build_versions(versions)