1
0
forked from apxtri/apxtri

apidoc update

This commit is contained in:
philc 2024-04-18 11:53:58 +02:00
parent dc6246b1a6
commit 70ff75c149
2 changed files with 4 additions and 5 deletions

View File

@ -25,7 +25,7 @@
"commentinstallprod":"A lancer en yarn 'version=1 yarn run tar2prod' pour generer un tar d'installation disponible en ligne sur towndns/cdn/share/apxtriV.tar pour install voir le readme qui run in apxtowns mkdir newtown && tar -xf appv1.tar -C newtown",
"maintainers": [
{
"name": "Philippe Colzy",
"name": "Filou",
"email": "support@need-data.com",
"url": "https://need-data.com"
}

View File

@ -18,9 +18,9 @@ router.post("/conf/:tribeId/:website", checkHeaders, isAuthenticated, (req, res)
});
/**
* @api {get} /adminapi/wwws/localstorage/:tribe/:appname - Get app data model
* @apiGroup Odmdb
* @apiName getOption
* @apiDescription Get data from backend to custome app
* @apiGroup Wwws
* @apiName getappcontext
* @apiDescription Get data base from backend to localstorage
*
* @apiParams {string} tribe (adminapi,smatchit,..) to looking for
* @apiParams {string} appname agregate a full data referential to store localy
@ -33,7 +33,6 @@ router.get("/initlocaldb/:tribe/:appname", checkHeaders, isAuthenticated, (req,
console.log('pass localstorage')
const getlocal = Wwws.initlocaldata(req.params.tribe,req.params.appname,req.session.header.xprofils,req.session.header.xlang);
res.status(getlocal.status).json(getlocal)
});
module.exports = router;