DataFlair Ad Server API fixtures
================================

These are the requests DataFlair sends to your ad server, each with an answer that passes.
They are the same files the docs show, so the docs and this folder cannot differ.

  exemplary/     The happy path. One folder for each endpoint.
  supplemental/  Errors and edge cases.

Each case is a folder with three files:

  request.json            What DataFlair sends.
  expected-response.json  An answer that passes.
  case.json               How the checker uses the case: the status it expects, the rules it
                          applies, the docs section that explains it, and any value that was
                          made up.

To replay every case against your own server and see what fails:

  node tools/adserver-check/bin/adserver-check.mjs http://localhost:3000/api/v1 --key sk_test_local --fixtures <this folder>

How to run the checker: https://docs.dataflair.ai/marketplace/ad-server-api/conformance
