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 |
<https://mapaprop.app/api/action/express-v1/posts>
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
Example of a query
/api/action/website-v1/posts?websiteId=X&customerId=X&from=0&order=ASC||DESC||Empty
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 |
{
"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>"
},