@post('/:hypervisor/:host/guests/:guest_id/clone')
def guest_clone(hypervisor, host, guest_id):
    response.content_type = "application/json"
    manager = create_manager(hypervisor, host)
    data = request.body.readline()
    if not data:
        abort(400, 'No data received')
    data = json.loads(data)
    guest = manager.guest_clone(guest_id, data)
    location = "/%s/%s/guests/%s" % (hypervisor, host, guest["id"])
    response.set_header("Location", location)

    manager.logout()

    return json.dumps(guest)
Sends a GCM notification to a single registration_id or to a topic (If "topic" included in the kwargs).
dataset/ETHPy150Open locaweb/simplestack/src/simplestack/server.py/guest_clone--crossover with--dataset/ETHPy150Open jleclanche/django-push-notifications/push_notifications/gcm.py/_gcm_send_plain