@get('/s/cards/{card_id}/versions')
def get_card_versions_route(request, card_id):

    db_conn = request['db_conn']
    versions = Card.get_versions(
        db_conn,
        entity_id=card_id,
        **request['params']
    )
    return 200, {
        'versions': [version.deliver(access='view') for version in versions]
    }
Get versions card given an ID. Paginates.
dataset/ETHPy150Open heiskr/sagefy/server/routes/card.py/get_card_versions_route