ALPHA

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://www.mapapropapp.com/api/action/express-v1/posts>

Sample code

GET /api/action/express-v1/posts HTTP/1.1
Host: www.mapapropapp.com
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.

Object Field Type Required Description
Response posts Array of Page yes The list of Page objects
id int yes The ID of the page
editor string yes customer who wrote the post
mainImage string yes link of main image
title string yes The title of the page
seoUrl string yes SEO 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>"
    },