List and retrieve diffs with detailed revision information

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

{
    "id": 1080867,
    "revision": {
        "id": 493305,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "286cb64188455e1b5310fa7dfb21a04fda0a3bc4",
        "head_changeset": "8f3335b9da19767c5c2e0de7168fe2dd8dd73087",
        "phabricator_id": 256816,
        "phabricator_phid": "PHID-DREV-o3lcfhllmmhzcu3chfob",
        "title": "Bug 1841125 - [remote] Use \"Services.wm.getMostRecentBrowserWindow(null)\" in TabManager.",
        "bugzilla_id": 1841125,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493305/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493305/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256816"
    },
    "phid": "PHID-DIFF-67q3ldbgvr2xmchd3whn",
    "review_task_id": "BKBtw_HqTWKh731HQcfH4A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8f3335b9da19767c5c2e0de7168fe2dd8dd73087",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080867/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T14:56:23.232732Z"
}