{
"description": "aggregation coordinator origin",
"api_config": {
"aggregation_coordinator_origins": [
"https://c1.test",
"https://c2.test"
]
},
"input": {
"registrations": [
{
"timestamp": "0",
"registration_request": {
"context_origin": "https://source.test",
"Attribution-Reporting-Eligible": "navigation-source"
},
"responses": [
{
"url": "https://reporter.test/register-source",
"response": {
"Attribution-Reporting-Register-Source": {
"destination": "https://destination.test",
"source_event_id": "123",
"aggregation_keys": {
"a": "0x159"
}
}
}
}
]
},
{
"timestamp": "1",
"registration_request": {
"context_origin": "https://destination.test"
},
"responses": [
{
"url": "https://reporter.test/register-trigger",
"response": {
"Attribution-Reporting-Info": "report-header-errors",
"Attribution-Reporting-Register-Trigger": {
// not on allowlist
"aggregation_coordinator_origin": "https://x.test"
}
}
}
]
},
{
"timestamp": "2",
"registration_request": {
"context_origin": "https://destination.test"
},
"responses": [
{
"url": "https://reporter.test/register-trigger",
"response": {
"Attribution-Reporting-Info": "report-header-errors",
"Attribution-Reporting-Register-Trigger": {
// non-default coordinator
"aggregation_coordinator_origin": "https://c2.test/123",
"aggregatable_trigger_data": [
{
"source_keys": ["a"],
"key_piece": "0x400"
}
],
"aggregatable_values": {
"a": 123
}
}
}
}
]
}
]
},
"output": {
"reports": [
{
"payload": [{
"body": {
"context_site": "https://destination.test",
"header": "Attribution-Reporting-Register-Trigger",
"value": "{\"aggregation_coordinator_origin\":\"https://x.test\"}"
},
"type": "header-parsing-error"
}],
"report_time": "1",
"report_url": "https://reporter.test/.well-known/attribution-reporting/debug/verbose"
},
{
"payload": {
"aggregation_coordinator_origin": "https://c2.test",
"histograms": [
{
"id": "0",
"key": "0x559",
"value": 123
}
],
"shared_info": {
"api": "attribution-reporting",
"attribution_destination": "https://destination.test",
"reporting_origin": "https://reporter.test",
"scheduled_report_time": "3600",
"version": "1.0"
}
},
"report_url": "https://reporter.test/.well-known/attribution-reporting/report-aggregate-attribution",
"report_time": "3600002"
}
]
}
}