List and retrieve diffs with detailed revision information

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

{
    "id": 1079066,
    "revision": {
        "id": 491683,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f02209f56f063527d6ee9041181f01b4c845d998",
        "head_changeset": "03f5930fbe2b8f752410014483fff03b026bbc4f",
        "phabricator_id": 256367,
        "phabricator_phid": "PHID-DREV-ap5ztago33i6pzzjsb25",
        "title": "Bug 1968719 - Made lwtheme-brighttext a proper boolean attribute. r?dao!",
        "bugzilla_id": 1968719,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491683/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491683/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256367"
    },
    "phid": "PHID-DIFF-n452ppuyr6p2q3y2bwmh",
    "review_task_id": "Xwet0OiqQYek0X5kJMdnVQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "03f5930fbe2b8f752410014483fff03b026bbc4f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079066/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T21:39:14.478992Z"
}