List and retrieve diffs with detailed revision information

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

{
    "id": 1094041,
    "revision": {
        "id": 496033,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f74268c243c5844511a8eae42b1c2349b14da173",
        "head_changeset": "3bbba92ee2778d27173105cfca2ebfc86d62c728",
        "phabricator_id": 257410,
        "phabricator_phid": "PHID-DREV-fufiksvxpyghwsuvdnnf",
        "title": "Bug 1977289 - part 2: Make `HTMLEditUtils::GetDeepestEditable(Start|End)Point` optionally stop at specific descendant element r=m_kato!",
        "bugzilla_id": 1977289,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496033/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496033/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257410"
    },
    "phid": "PHID-DIFF-2ysce6kpewnh4waeem23",
    "review_task_id": "WTy4NKQXTMuJccjcm00kpw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b4121127128a724976d77333fa13a3762cccf01f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094041/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T06:11:51.839427Z"
}