Webhook blog articles trigger - OgnianApostolov/builderly-api-docs GitHub Wiki
Model
{
"id": {
"type": "string",
"required": "true"
},
"title": {
"type": "string",
"required": "true"
},
"url": {
"type": "string",
"required": "true"
},
"header": {
"type": "string",
"required": "true"
} ,
"description": {
"type": "string",
"required": "true"
},
"published": {
"type": "boolean",
"required": "true"
},
"author": {
"type": "string",
"required": "true"
}
}
Method
Retrieve multiple
GET 'https://{{your-builderly-domain}}/webhook/blogposts'
method: 'GET'
{
url: 'https://{{your-builderly-domain}}/webhook/blogposts',
headers: {},
json: true,
body: {
id: blogpost._id,
title: blogpost.title,
url: blogpost.url,
header: blogpost.header,
description: blogpost.description,
main_image: blogpost.medias[0],
other_images: blogpost.medias.splice(1),
published: blogpost.published,
author: user.name
}
}
Responses
Success - status 200
[{
id,
title,
url,
header,
description,
published,
author
}]
Error - status 500
{
error_message
}