curl --location 'https://us-prod.notte.cc/functions/de6fd526-8787-447a-a346-8876ad597be8/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "de6fd526-8787-447a-a346-8876ad597be8",
"variables": {
"page": 1,
"timeout_seconds": 30,
"wait_ms": 5000
}
}'
{
"page": 0,
"site": "<string>",
"count": 0,
"posts": [
{
"id": 0,
"date": "<string>",
"guid": {
"rendered": "<string>"
},
"link": "<string>",
"slug": "<string>",
"type": "<string>",
"title": {
"rendered": "<string>"
},
"author": 0,
"format": "<string>",
"status": "<string>",
"sticky": true,
"content": {
"rendered": "<string>",
"protected": true
},
"excerpt": {
"rendered": "<string>",
"protected": true
},
"date_gmt": "<string>",
"modified": "<string>",
"template": "<string>",
"categories": [
0
],
"author_info": {
"id": 0,
"link": "<string>",
"name": "<string>",
"slug": "<string>",
"avatar_urls": {}
},
"ping_status": "<string>",
"modified_gmt": "<string>",
"category_data": [
{
"id": 0,
"link": "<string>",
"name": "<string>",
"slug": "<string>",
"taxonomy": "<string>"
}
],
"comment_status": "<string>",
"featured_media": 0
}
],
"per_page": 0,
"total_pages": 0,
"total_posts": 0
}