List and retrieve diffs with detailed revision information

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

{
    "id": 1099723,
    "revision": {
        "id": 505356,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "320fe0da2b9f0462e2afaa418ce3560763ecadb2",
        "head_changeset": "da194e5adc687136abb75c430ddbd9dacead6273",
        "phabricator_id": 259604,
        "phabricator_phid": "PHID-DREV-373dpebfk4gh27agwc3z",
        "title": "Bug 1974483 - Part 5: Ensuring UI tests run properly with the terms of service popup enabled",
        "bugzilla_id": 1974483,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505356/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505356/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259604"
    },
    "phid": "PHID-DIFF-ey4pdb27mdjzlyrtrald",
    "review_task_id": "FHNfusm5SguAO_9PmLz67g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "da194e5adc687136abb75c430ddbd9dacead6273",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099723/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T17:15:40.511468Z"
}