Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions static/schemas/v1/core/webhook-payload.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@
"error": {
"type": ["string", "null"],
"description": "Error message for failed tasks. Only present when status is 'failed'."
},
"original_request": {
"description": "The original request that created this webhook.",
"oneOf": [
{ "$ref": "/schemas/v1/media-buy/create-media-buy-request.json" },
{ "$ref": "/schemas/v1/media-buy/update-media-buy-request.json" },
{ "$ref": "/schemas/v1/media-buy/sync-creatives-request.json" },
{ "$ref": "/schemas/v1/signals/activate-signal-request.json" },
{ "$ref": "/schemas/v1/signals/get-signals-request.json" }
]
}
},
"required": ["task_id", "task_type", "status", "timestamp"],
Expand Down Expand Up @@ -176,6 +186,9 @@
"field": "packages[0].budget"
}
]
},
"original_request": {
"buyer_ref": "nike_q1_campaign_2024"
}
}
},
Expand Down
Loading