List and retrieve diffs with detailed revision information

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

{
    "id": 1081939,
    "revision": {
        "id": 494379,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4031593033c0833fd362eb8e1c04f9aac163d5a2",
        "head_changeset": "97f1c8d67405f6b1de8bc8dbfdc756679e921690",
        "phabricator_id": 257077,
        "phabricator_phid": "PHID-DREV-h4vb6rcfud3ylltx2re3",
        "title": "Bug 1968915 - Register the UIDensity and UIFontSize after the AutoTreeView widget is initialized in the ABSearchDialog. r=#thunderbird-reviewers",
        "bugzilla_id": 1968915,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494379/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494379/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257077"
    },
    "phid": "PHID-DIFF-nj5gtw2wkgcmrrnyafq6",
    "review_task_id": "UKhXrmmpSP60T-q7E9DNhQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "97f1c8d67405f6b1de8bc8dbfdc756679e921690",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081939/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T22:54:39.580045Z"
}