module.exports = exports = {

    prefix: '/api/v1/offline',

    middleware: [],

    get: {
        '/prefetch': ['middleware::auth:ApiRoute', 'controller::api:v1:Offline.do_prefetch'],
    },

    post: {
        // re-sync data when an offline client goes back online
        '/sync': ['middleware::auth:ApiRoute', 'controller::api:v1:Offline.do_sync'],
    },
}
