List and retrieve diffs with detailed revision information

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

{
    "id": 1106749,
    "revision": {
        "id": 509666,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7925b8e5ef36d0bd80a6eab0bb866c7a920b3dd4",
        "head_changeset": "8962ea78d78d0251a9342b75b2aec18654e230f5",
        "phabricator_id": 260525,
        "phabricator_phid": "PHID-DREV-rtese7fh7fqwkr6ry446",
        "title": "Bug 1886894 - add DomainMatchingMode enum so browser:purge-sessionStorage does exact domain match when domain is provided. r?robwu!",
        "bugzilla_id": 1886894,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/509666/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/509666/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260525"
    },
    "phid": "PHID-DIFF-3aqu736fd6jvgcyxilgr",
    "review_task_id": "bkg7lPK8QzmbnM_sdd7IIw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e71fb04c9ff73163d31779eb3891747f3af04858",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1106749/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-15T23:12:49.012909Z"
}