List and retrieve diffs with detailed revision information

GET /v1/diff/1039725/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1039725,
    "revision": {
        "id": 475410,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5ddda30f19eeec487fb929857611672bbc3850d0",
        "head_changeset": "0b4ed5b5a5f657eb4ecb64788591cffe28feff7a",
        "phabricator_id": 249854,
        "phabricator_phid": "PHID-DREV-pofm2xy2louzcrpmo5zm",
        "title": "WIP: Bug 1966682 - wip",
        "bugzilla_id": 1966682,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475410/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475410/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249854"
    },
    "phid": "PHID-DIFF-q2r775qq6xf4532m3l7b",
    "review_task_id": "JvOIKYHiSG2s-VpRBYaHqg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "41d27369baa2174e6ae6087829e2d51234db36e6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039725/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T13:10:28.852320Z"
}