1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
   89
   90
   91
   92

content / test / data / attribution_reporting / interop / attribution_scopes_max_event_states_limit.json [blame]

{
  "description": "Event source exceeding defined max event states",
  "api_config": {
    "needs_aggregatable_debug": true,
    "needs_attribution_scopes": true
  },
  "input": {
    "registrations": [
      {
        "timestamp": "0",
        "registration_request": {
          "context_origin": "https://source.test",
          "Attribution-Reporting-Eligible": "event-source"
        },
        "responses": [
          {
            "url": "https://reporter.test/register-source",
            "debug_permission": true,
            "response": {
              "Attribution-Reporting-Register-Source": {
                "destination": "https://destination.test",
                "source_event_id": "123",
                "debug_reporting": true,
                "max_event_reports": 3,
                "event_report_windows": {
                  "start_time": 0,
                  "end_times": [21600, 43200]
                },
                "attribution_scopes": {
                  "limit": 3,
                  "max_event_states": 3,
                  "values": [
                    "1"
                  ]
                },
                "aggregatable_debug_reporting": {
                  "budget": 65536,
                  "key_piece": "0x15",
                  "debug_data": [
                    {
                      "types": ["source-max-event-states-limit"],
                      "key_piece": "0x2",
                      "value": 456
                    }
                  ]
                }
              }
            }
          }
        ]
      }
    ]
  },
  "output": {
    "reports": [
      {
        "payload": [
          {
            "body": {
              "attribution_destination": "https://destination.test",
              "limit": "3",
              "source_event_id": "123",
              "source_site": "https://source.test"
            },
            "type": "source-max-event-states-limit"
          }
        ],
        "report_time": "0",
        "report_url": "https://reporter.test/.well-known/attribution-reporting/debug/verbose"
      },
      {
        "payload": {
          "aggregation_coordinator_origin": "https://coordinator.test",
          "histograms": [ {
            "id": "0",
            "key": "0x17",
            "value": 456
          } ],
          "shared_info": {
            "api": "attribution-reporting-debug",
            "attribution_destination": "https://destination.test",
            "reporting_origin": "https://reporter.test",
            "scheduled_report_time": "0",
            "version": "1.0"
          }
        },
        "report_time": "0",
        "report_url": "https://reporter.test/.well-known/attribution-reporting/debug/report-aggregate-debug"
      }
    ]
  }
}