forked from apxtri/apxtri
apidoc update
This commit is contained in:
parent
dc6246b1a6
commit
70ff75c149
@ -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",
|
"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": [
|
"maintainers": [
|
||||||
{
|
{
|
||||||
"name": "Philippe Colzy",
|
"name": "Filou",
|
||||||
"email": "support@need-data.com",
|
"email": "support@need-data.com",
|
||||||
"url": "https://need-data.com"
|
"url": "https://need-data.com"
|
||||||
}
|
}
|
||||||
|
@ -18,9 +18,9 @@ router.post("/conf/:tribeId/:website", checkHeaders, isAuthenticated, (req, res)
|
|||||||
});
|
});
|
||||||
/**
|
/**
|
||||||
* @api {get} /adminapi/wwws/localstorage/:tribe/:appname - Get app data model
|
* @api {get} /adminapi/wwws/localstorage/:tribe/:appname - Get app data model
|
||||||
* @apiGroup Odmdb
|
* @apiGroup Wwws
|
||||||
* @apiName getOption
|
* @apiName getappcontext
|
||||||
* @apiDescription Get data from backend to custome app
|
* @apiDescription Get data base from backend to localstorage
|
||||||
*
|
*
|
||||||
* @apiParams {string} tribe (adminapi,smatchit,..) to looking for
|
* @apiParams {string} tribe (adminapi,smatchit,..) to looking for
|
||||||
* @apiParams {string} appname agregate a full data referential to store localy
|
* @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')
|
console.log('pass localstorage')
|
||||||
const getlocal = Wwws.initlocaldata(req.params.tribe,req.params.appname,req.session.header.xprofils,req.session.header.xlang);
|
const getlocal = Wwws.initlocaldata(req.params.tribe,req.params.appname,req.session.header.xprofils,req.session.header.xlang);
|
||||||
res.status(getlocal.status).json(getlocal)
|
res.status(getlocal.status).json(getlocal)
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user