PRODUCTION

This service will return the list of pages configured by the customer for this website

Resource information
Authentication Required
HTTP Method GET
Response JSON
Version 1

Resource URL

<https://mapaprop.app/api/action/express-v1/pages>

Sample code

GET /api/action/express-v1/pages HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer ya29.1.AADtN_UxybTdjLw9jX6lg_branSjjsldiwjtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw

Response

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 pages Array of Page yes The list of Page objects
Page pageId int yes The ID of the page
keywords string no Keywords configured by the customer
showInMenu boolean yes The customer decision to show this item as an item menu or not
description string yes The description of the page
title string yes The title of the page
url string yes SEO like url that can be used to link the page
timestamp string yes ISO 8601 like for last modification of the page
menu string no A menu description if this item is present in the menu
order int yes The order given by the customer. If no order were given you will see a 0

Sample response

{
    "pages": [
        {
            "keywords": "CONDICIONES DE ALQUILER TEMPORARIO",
            "showInMenu": true,
            "description": "Condiciones de alquiler temporario",
            "pageId": 8374,
            "title": "Condiciones generales",
            "menu": "Condiciones",
            "url": "condiciones-generales",
            "timestamp": "2014-05-10T22:35:24Z",
            "order": 0
        },
        {
            "keywords": "turismo Buenos aires",
            "showInMenu": true,
            "description": "Turismo Buenos aires",
            "pageId": 3957,
            "title": "Info Baires",
            "menu": "Info Baires",
            "url": "info-baires",
            "timestamp": "2014-09-14T04:47:52Z",
            "order": 5
        }
    ]
}