List and retrieve diffs with detailed revision information

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

{
    "id": 1055450,
    "revision": {
        "id": 477922,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f2b9d4c02a75a833b2b73d9abdab4b6a301d74e7",
        "head_changeset": "21c95da13156058c7a708f0816a18931df964f6c",
        "phabricator_id": 253088,
        "phabricator_phid": "PHID-DREV-u5l3pz2kijhosyybgnjl",
        "title": "Bug 1965601 - Part 8. Add tickets for better control over buffer recycling with ShmemRecycleAllocator.",
        "bugzilla_id": 1965601,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477922/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477922/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253088"
    },
    "phid": "PHID-DIFF-pnm6dfnvggqzcghld5tm",
    "review_task_id": "HNKuVVz3SB2URqWSFxKqJA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "21c95da13156058c7a708f0816a18931df964f6c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055450/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T21:14:11.032911Z"
}