The karbor.api.v1.restores Module

The restores api.

class karbor.api.v1.restores.RestoreViewBuilder

Bases: karbor.api.common.ViewBuilder

Model a server API response as a python dictionary.

detail(request, restore)

Detailed view of a single restore.

detail_list(request, restores, restore_count=None)

Detailed view of a list of restores.

class karbor.api.v1.restores.RestoresController

Bases: karbor.api.openstack.wsgi.Controller

The Restores API controller for the OpenStack API.

create(req, body)

Creates a new restore.

index(req)

Returns a list of restores, transformed through view builder.

show(req, id)

Return data about the given restore.

wsgi_actions = {}
wsgi_extensions = []
karbor.api.v1.restores.check_policy(context, action, target_obj=None)
karbor.api.v1.restores.create_resource()