List and retrieve diffs with detailed revision information

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

{
    "id": 1076896,
    "revision": {
        "id": 489171,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "54a611ea13cac0fc5ac320b75cbed38818123c88",
        "head_changeset": "93942fceb85839caed7f467d005c9fb1245f0b64",
        "phabricator_id": 255707,
        "phabricator_phid": "PHID-DREV-a7wgtydsgdirckxwytd4",
        "title": "WIP: Bug 1973228 - Run NewTab trainhopping add-on install/update/uninstall shortly after AboutNewTab.onBrowserReady has been called.",
        "bugzilla_id": 1973228,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489171/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489171/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255707"
    },
    "phid": "PHID-DIFF-2jkzwl3dfvf4wypegunk",
    "review_task_id": "A1_MAFMKQQCf_8Ip8TJnwQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ec8031d175b9a133a8d8c9022fd718ce369bfbf1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076896/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T18:18:43.555398Z"
}