addded routes

This commit is contained in:
2023-01-25 20:44:42 -05:00
parent 538bada3ad
commit f3be271ebd
2 changed files with 18 additions and 9 deletions
+12 -3
View File
@@ -39,7 +39,7 @@ $routes->get('/merms/wp/', 'Merms::index');
$routes->get('/chiefsoft/site/blogdata', 'Chiefsoft::blogdata'); // when no limit is sent
$routes->post('/chiefsoft/site/contact', 'Chiefsoft::contact');
//MERMS MYFIT
//MERMS MYFIT NO SESSION DATA
$routes->get('/en/desktop/api/v2/myfit/country', 'Myfit::country');
$routes->get('/en/desktop/api/v2/myfit/blogdata/(:any)', 'Myfit::blogdata/$1');
$routes->get('/en/desktop/api/v2/myfit/blogdata', 'Myfit::blogdata'); // when no limit is sent
@@ -48,17 +48,26 @@ $routes->post('/en/desktop/api/v2/myfit/contact', 'Myfit::contact');
$routes->get('/en/desktop/api/v2/myfit/pricing', 'Myfit::pricing');
//MYFIT DESKTOP USERS
//-- login
$routes->post('/en/desktop/api/v2/myfituser/login', 'Myfituser::users');
//--create acount
$routes->post('/en/desktop/api/v2/myfituser/account', 'Myfituser::users');
$routes->get('/en/desktop/api/v2/myfituser/profile', 'Myfituser::users');
$routes->get('/en/desktop/api/v2/myfituser/myfeed', 'Myfituser::users');
$routes->get('/en/desktop/api/v2/myfituser/tracking', 'Myfituser::users');
$routes->get('/en/desktop/api/v2/myfituser/reminders', 'Myfituser::users');
$routes->get('/en/desktop/api/v2/myfituser/calendar', 'Myfituser::users');
//MYFIT DESKTOP USERS
$routes->post('/en/mobile/api/v2/myfituser/login', 'Myfituser::users');
$routes->post('/en/mobile/api/v2/myfituser/account', 'Myfituser::users');
$routes->get('/en/mobile/api/v2/myfit/blogdata', 'Myfit::blogdata');
$routes->get('/en/desktop/api/v2/myfituser/profile', 'Myfituser::users');
$routes->get('/en/desktop/api/v2/myfituser/myfeed', 'Myfituser::users');
/*
https://devapi.mermsemr.com/en/desktop/api/v2/myfit/country GET