List and retrieve diffs with detailed revision information

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

{
    "id": 1105283,
    "revision": {
        "id": 506515,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d15f84a81995081c5380540782f571fc12aa72d5",
        "head_changeset": "8ac02c549472a9750cef494b9bef378c6dee1d2d",
        "phabricator_id": 259917,
        "phabricator_phid": "PHID-DREV-lr63x3frx5gt57febwn7",
        "title": "Bug 1981083. Enable define WEBP_USE_THREAD when building libwebp. r?#gfx-reviewers",
        "bugzilla_id": 1981083,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/506515/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/506515/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259917"
    },
    "phid": "PHID-DIFF-yl6uhud5od6yl3sze26o",
    "review_task_id": "Z-gGrl9fQT6z_nBR9TarwQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "252bae2cadb866ef641ff5218e32f12605454c3d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105283/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T11:27:48.668632Z"
}