curl --location 'https://us-prod.notte.cc/functions/b3945826-e68f-4311-ba7d-59871a8edaa5/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "b3945826-e68f-4311-ba7d-59871a8edaa5",
"variables": {
"start_page": 1,
"pages": 1,
"posts_per_page": 20
}
}'
{
"source": "<string>",
"fetched_at": "<string>",
"pagination": {
"next_page": 0,
"start_page": 0,
"total_pages": 0,
"total_posts": 0,
"pages_fetched": 0,
"posts_per_page": 0,
"requested_pages": 0
},
"post_count": 0,
"posts_by_date": [
{
"date": "<string>",
"posts": [
{
"id": 0,
"link": "<string>",
"slug": "<string>",
"tags": [
{
"id": 0,
"link": "<string>",
"name": "<string>",
"slug": "<string>"
}
],
"title": "<string>",
"author": {
"id": 0,
"link": "<string>",
"name": "<string>",
"slug": "<string>"
},
"format": "<string>",
"status": "<string>",
"sticky": true,
"excerpt": "<string>",
"post_type": "<string>",
"categories": [
{
"id": 0,
"link": "<string>",
"name": "<string>",
"slug": "<string>"
}
],
"modified_date": "<string>",
"publication_date": "<string>",
"modified_date_gmt": "<string>",
"featured_image_url": "<string>",
"publication_date_gmt": "<string>"
}
]
}
]
}