List and retrieve diffs with detailed revision information

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

{
    "id": 1076631,
    "revision": {
        "id": 488614,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8dce7fb0a03c652498317938af58ed33252401c7",
        "head_changeset": "3cdd699c99da1fe12ab16d8f07b1f279ca8cd5c3",
        "phabricator_id": 255564,
        "phabricator_phid": "PHID-DREV-wwxnlkyxk77pjk7dtjfn",
        "title": "WIP: Bug 1973228 - Uninstall NewTab trainhop add-on during the application session that follows the Nimbus feature being unenrolled.",
        "bugzilla_id": 1973228,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488614/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488614/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255564"
    },
    "phid": "PHID-DIFF-qtmuoltkv45gockqx5su",
    "review_task_id": "eK5B2FziQGapX-DJPp0K_Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cb8299ff740925e04d94c0e073a027a240e7ecfd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076631/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T13:07:43.096192Z"
}