List and retrieve diffs with detailed revision information

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

{
    "id": 1079240,
    "revision": {
        "id": 491967,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "54529ef18b578088676a1f110b07ccbad97532f9",
        "head_changeset": "3c189f7f98f7e331a4bfb99bfd683edc48bd6ba5",
        "phabricator_id": 256393,
        "phabricator_phid": "PHID-DREV-c5oxordlsbzgfiwht6w4",
        "title": "Bug 1976025 - Don't call native provider if native object isn't attached. r=eeejay!,#geckoview-reviewers",
        "bugzilla_id": 1976025,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491967/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491967/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256393"
    },
    "phid": "PHID-DIFF-uq2oqxt7x46l5vfvp2xs",
    "review_task_id": "e6nySQiQSESlHoMmxm1OiQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3c189f7f98f7e331a4bfb99bfd683edc48bd6ba5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079240/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T06:47:35.323148Z"
}