import Job from './handlers/job'
import Ping from './handlers/ping'

export default [
  { method: 'GET', path: '/ping', config: { auth: false, handler: Ping } },

  { method: 'POST', path: '/jobs', config: Job.create },
  { method: 'GET', path: '/jobs/{id}', config: Job.get }
]

import Job from './handlers/job'
import Ping from './handlers/ping'

export default [
  { method: 'GET', path: '/ping', config: { auth: false, handler: Ping } },

  { method: 'POST', path: '/jobs', config: Job.create },
  { method: 'GET', path: '/jobs/{id}', config: Job.get },
  { method: 'GET', path: '/jobs', config: Job.getAll }
]

Add get all jobs route
Add get all jobs route
