PROD

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

Resource information
AuthenticationRequired (API Token, Bearer)
Scopeexpress-base
HTTP MethodGET
ResponseJSON
Version1

Resource URL

https://mapaprop.app/api/action/express-v1/posts

Sample code

GET /api/action/express-v1/posts HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer {access_token}

Query

Example of a query

/api/action/website-v1/posts?websiteId=X&customerId=X&from=0&order=ASC||DESC||Empty

Response

A JSON document with the list of menus for the website. The menu is generated by the pages configured by the customer.

ObjectFieldTypeRequiredDescription
ResponsepostsArray of PageyesThe list of Page objects
idintyesThe ID of the page
editorstringyescustomer who wrote the post
mainImagestringyeslink of main image
titlestringyesThe title of the page
seoUrlstringyesSEO like url that can be used to link the page

Sample response

    {
        "id": 3,
        "title": "Descubre la Última Herramienta en la Era Digital: El Sistema de BLOG",
        "seoUrl": "descubre-la-ultima-herramienta-en-la-era-digital-el-sistema-de-blog",
        "editor": "Tadeo Mendoza",
        "mainImage": "https://ImgUrl/4886.jpg"
    },