List and retrieve diffs with detailed revision information

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

{
    "id": 1054431,
    "revision": {
        "id": 477614,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "aae413172956968b15653c3eab6cbbc05321365d",
        "head_changeset": "d514b2bbede0c062cec213158c62e951c4bd0358",
        "phabricator_id": 252710,
        "phabricator_phid": "PHID-DREV-qtoohjhrtlwva7shagke",
        "title": "WIP: Bug 1967659 - [puppeteer] Disable all puppeteer tests incompatible with Mozilla CI",
        "bugzilla_id": 1967659,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477614/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477614/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252710"
    },
    "phid": "PHID-DIFF-4cjzjciym4gphkglb7yx",
    "review_task_id": "bHihN5vlT0OqbeBfYZw5Sw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5f5d1dfaa2be9e7e794a1548b6109880df235913",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054431/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T16:12:01.340861Z"
}