PRODUCTION

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

Resource information
AuthenticationRequired
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 ya29.1.AADtN_UxybTdjLw9jX6lg_branSjjsldiwjtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw

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"
    },