prozorro_sale.jobber.api.handlers.announcement

# todo refactor into subapps
BASE_PATH = '/api/jobber/announcements/{anons_type:(jas|jal)}'

routes = [
    # announcement hints

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

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