This service will return the list of menus available for the website.
Resource information | |
---|---|
Authentication | Required |
HTTP Method | GET |
Response | JSON |
Version | 1 |
<https://mapaprop.app/api/action/express-v1/menus>
GET /api/action/express-v1/menus HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer ya29.1.AADtN_UxybTdjLw9jX6lg_branSjjsldiwjtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw
A JSON document with the list of menus for the website. The menu is generated by the pages configured by the customer.
Object | Field | Type | Required | Description |
---|---|---|---|---|
Response | menus | Array of Menu | yes | The list of Menu objects |
Menu | menu | string | yes | The menu title |
url | string | yes | A seo like URL where you can get to the page (for later linking to it) | |
order | int | yes | The order given by the customer. If no order were given you will see a 0 |
{
"menus": [
{
"menu": "Condiciones",
"url": "condiciones-generales",
"order": 0
},
{
"menu": "Nuestras Ofertas",
"url": "nuestras-ofertas",
"order": 2
}
]
}