List and retrieve diffs with detailed revision information

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

{
    "id": 1078478,
    "revision": {
        "id": 491195,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1fdf8d8bdb2b440a5d39166972c890435595f183",
        "head_changeset": "bb32c7c904076f3b10112964e5305aaae0ae4bfc",
        "phabricator_id": 256189,
        "phabricator_phid": "PHID-DREV-ctb2p3lqazjfcoagsis7",
        "title": "Bug 1945222 - Update disable on mac for test browser_smartblockembeds.js r=#intermittent-reviewers,aryx",
        "bugzilla_id": 1945222,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491195/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491195/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256189"
    },
    "phid": "PHID-DIFF-g6s5zhxvz2k5cu3cdp63",
    "review_task_id": "OslZJY7TSY-7AxVW2Jxixw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "26902f633e31c56c203d2c08f0ad87c11bd6f9da",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078478/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-06T14:31:39.786183Z"
}