prozorro_sale.jobber.api.handlers.redemption

# todo refactor into subapps
BASE_PATH = '/api/jobber/redemption/{redemption_type:(jrs|jrl)}'

routes = [
    # redemption hints

    web.get(_url_path(BASE_PATH, 'hints/{pipeline_method}'), get_hints, allow_head=False),

    # redemption
    web.post(_url_path(BASE_PATH), create),
    web.get(_url_path(BASE_PATH, '{obj_id}'), get, allow_head=False),