List and retrieve diffs with detailed revision information

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

{
    "id": 1103036,
    "revision": {
        "id": 508911,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d15f84a81995081c5380540782f571fc12aa72d5",
        "head_changeset": "858197b8f3923cf27e079a7f3c92d6f3de02beb7",
        "phabricator_id": 260415,
        "phabricator_phid": "PHID-DREV-xrs7zutsdwovgmlocwz5",
        "title": "Bug 1978857 - add a batch of simple DOM-related helpers to simplify more a lot of tests, and fix a few bugs/oversights in the new framework code, including adding a little more logging; r?denschub",
        "bugzilla_id": 1978857,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508911/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508911/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260415"
    },
    "phid": "PHID-DIFF-ufz5iwplu3juewvdyx4o",
    "review_task_id": "ec0W3CXbSoGpXM9Mz98gSQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "858197b8f3923cf27e079a7f3c92d6f3de02beb7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103036/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-08T05:25:49.232268Z"
}