List and retrieve diffs with detailed revision information

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

{
    "id": 1051609,
    "revision": {
        "id": 477197,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1894852bb04306295e44e89665a30a129ce59e5",
        "head_changeset": "d9018343783a849b98951e7e218340b0dc6e0f67",
        "phabricator_id": 252279,
        "phabricator_phid": "PHID-DREV-5kkmbtd2bzrrzxwyflv5",
        "title": "Bug 1969793 - Correct path to setDesktopBackground.ftl in nsWindowsShellService, r=nrishel!",
        "bugzilla_id": 1969793,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477197/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477197/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252279"
    },
    "phid": "PHID-DIFF-gje7v7tqvxwoflv3egds",
    "review_task_id": "XNGDLHNXTE-RqLD0JPJErA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d9018343783a849b98951e7e218340b0dc6e0f67",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051609/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T06:48:16.781266Z"
}