curl --location 'https://us-prod.notte.cc/functions/41568c14-9575-44dc-8a9a-bd35659c7b7f/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "41568c14-9575-44dc-8a9a-bd35659c7b7f",
"variables": {
"page": 1,
"per_page": 10,
"category_id": 0,
"timeout_seconds": 25
}
}'
{
"page": 0,
"site": "<string>",
"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>",
"categories": [
0
],
"ping_status": "<string>",
"modified_gmt": "<string>",
"comment_status": "<string>",
"featured_media": 0
}
],
"per_page": 0,
"category_id": "<any>",
"total_pages": 0,
"total_posts": 0
}