List and retrieve diffs with detailed revision information

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

{
    "id": 1081355,
    "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-h574v5trar7niz3wpsth",
    "review_task_id": "Wdehjoc3Q8Ch9itl8tz69g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a0113bbc8f922f575a584f025179ac6b0ff26803",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081355/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T09:01:16.869632Z"
}