List and retrieve diffs with detailed revision information

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

{
    "id": 1078096,
    "revision": {
        "id": 490717,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "b670c264c1070ed9f7e62e2102181cc07cec194d",
        "head_changeset": "e018018b44ab184b11da2d6874a4c75a072d1b87",
        "phabricator_id": 256113,
        "phabricator_phid": "PHID-DREV-rp775ud7vxu4xlnwdava",
        "title": "Bug 1975377 - Fix perma win32 - comm/mail/test/browser/downloads/browser_aboutDownloads.js | A promise chain failed to handle a rejection: can't access property \"path\", fp.file is null. r=#thunderbird-reviewers",
        "bugzilla_id": 1975377,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490717/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490717/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256113"
    },
    "phid": "PHID-DIFF-upnjkrko6un73ucrmcgz",
    "review_task_id": "KInzAHsLSkaBwDZFDrKg_Q",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "e018018b44ab184b11da2d6874a4c75a072d1b87",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078096/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T13:41:09.380073Z"
}