List and retrieve diffs with detailed revision information

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

{
    "id": 1080026,
    "revision": {
        "id": 491159,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "63afd49b4482b259840e6e6af45e156d449872dd",
        "head_changeset": "54149f6b8d9d66bb2dfa76a2d3c231768f063b7f",
        "phabricator_id": 256176,
        "phabricator_phid": "PHID-DREV-azm5ls2xdqqur6qed4i7",
        "title": "Bug 1948242, part 3 - Text Fragments: Reuse `nsFind`. r=#dom-core",
        "bugzilla_id": 1948242,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491159/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491159/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256176"
    },
    "phid": "PHID-DIFF-5uslzpcm6pjeiwb36u7n",
    "review_task_id": "ekR3BVoLT3GmcNEM2DDcXA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b099765920578cc0ca5562dc856b56a198798564",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080026/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T10:03:48.492439Z"
}