List and retrieve diffs with detailed revision information

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

{
    "id": 1107551,
    "revision": {
        "id": 493345,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "6da700026e3fc60a8e3cc1419e7a09b67705a72c",
        "head_changeset": "47680a75af2d4db32d2ae7c5d7a01b481262f3d1",
        "phabricator_id": 256827,
        "phabricator_phid": "PHID-DREV-s5u62nh4iwu5rgxisyaf",
        "title": "Bug 1976244 - Follow up - Fix issue that would allow notifications to show too early in some cases. r=#thunderbird-reviewers",
        "bugzilla_id": 1976244,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493345/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493345/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256827"
    },
    "phid": "PHID-DIFF-iyhgq6r3pjmwhnynevoj",
    "review_task_id": "MnYZFBkoRk6-2H9j3CrdIg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "8a48080b0da5f205da28b457ef416dcf6825443a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107551/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T04:14:38.697586Z"
}