Saltar al contenido principal

public

Hay un conjunto de datos de setup a los que se puede acceder sin necesidad de validación o autorización desde el api con v1/setup/public y su funcion es la publicación del frontend personalizado.

v1/setup/public

Devuelve el siguiente conjunto de datos, permitiendo que el frontend este personalizado antes de que el usuario se autentifique.

v1/setup/public
{
"appname": "ValerIA APP",
"title": "ValerIA",
"shortname": "ValerIA Tu ayudante con las gestiones.",
"appdescription": "ValerIA is going to be your best friend.",
"backcolor": "linear-gradient(90deg, rgba(130,26,146,1) 0%, RGBA(49, 9, 58, 1) 17%, rgba(81,10,86,1) 92%, rgba(110,5,162,1) 100%)",
"fontcolor": "rgba(255, 254, 254, 1)",
"primarycolor": "rgba(50, 22, 70, 1)",
"detailcolor": "rgba(161, 96, 209, 1)",
"errorcolor": "rgba(161, 96, 209, 1)",
"warningcolor": "rgba(161, 96, 209, 1)",
"linklogo": "/logointro.png",
"menu": [
{
"title": "Inicio",
"path": "/",
"roles": [
"superadmin",
"robot",
"hyperuser",
"admin",
"user",
"developer",
"guest"
],
"component": "<Inicio />",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef000"
},
{
"title": "Form",
"path": "/form",
"roles": [
"developer"
],
"component": "<Form />",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef001"
},
{
"title": "Trabajo",
"path": "/work",
"roles": [
"superadmin",
"robot",
"hyperuser",
"admin",
"user"
],
"component": "<Work />",
"active": false,
"_id": "651aa1fbbd091cbf5b9ef002"
},
{
"title": "Admin",
"path": "/admin",
"roles": [
"superadmin",
"robot",
"admin",
"developer"
],
"component": "<Developer />",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef003"
},
{
"title": "Desarrollador",
"path": "/developer",
"roles": [
"superadmin",
"robot",
"admin",
"developer"
],
"component": "<Developer />",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef004"
},
{
"title": "Cartuchos",
"path": "/developer/cartridges",
"roles": [
"superadmin",
"robot",
"admin",
"developer"
],
"component": "<Cartridges />",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef005"
},
{
"title": "Setup",
"path": "/admin/setup",
"roles": [
"superadmin",
"robot",
"admin",
"developer"
],
"component": "<Setup />",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef006"
},
{
"title": "Usuarios",
"path": "/admin/users",
"roles": [
"superadmin",
"robot",
"admin",
"developer"
],
"component": "<Users />",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef007"
},
{
"title": "Checks",
"path": "/developer/checks",
"roles": [
"superadmin",
"robot",
"admin",
"developer"
],
"component": "<Checks />",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef008"
},
{
"title": "Info",
"path": "/developer/info",
"roles": [
"superadmin",
"robot",
"hyperuser",
"admin",
"user"
],
"component": "<Info />",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef009"
},
{
"title": "Sesión",
"path": "/login",
"roles": [
"guest"
],
"component": "<Login />",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef00a"
},
{
"title": "Registrarse",
"path": "/register",
"roles": [
"superadmin",
"robot",
"hyperuser",
"admin",
"user",
"guest"
],
"component": "<Register />",
"active": false,
"_id": "651aa1fbbd091cbf5b9ef00b"
},
{
"title": "View",
"path": "/view",
"roles": [
"superadmin",
"robot",
"hyperuser",
"admin",
"user"
],
"component": "",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef00c"
},
{
"title": "VList001",
"path": "/view/vList001",
"roles": [
"superadmin",
"admin",
"user",
"robot",
"developer",
"hyperuser"
],
"component": "/view/vList001",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef00e"
},
{
"title": "vList002",
"path": "/view/vList002",
"roles": [
"superadmin",
"admin",
"user",
"robot",
"developer",
"hyperuser"
],
"component": "/view/vList002",
"active": true,
"_id": "651aa1fbbd091cbf5b9ef00f"
}
]
}

Para mas información compruebe el api de setup.