List and retrieve diffs with detailed revision information

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

{
    "id": 1112147,
    "revision": {
        "id": 521290,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "beba693aea55fdf6749ae91e3f99630af5cb539a",
        "head_changeset": "ab66910c9468a5f11648c36a32be90f88dc1ff53",
        "phabricator_id": 262619,
        "phabricator_phid": "PHID-DREV-reravtjvc2pebeicarx3",
        "title": "Bug 1985177 - Update ipProtection enabled Nimbus variable to set the user branch pref. r=#ip-protection-reviewers",
        "bugzilla_id": 1985177,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521290/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521290/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262619"
    },
    "phid": "PHID-DIFF-ydft57oujv4c4epths7i",
    "review_task_id": "H1Ul2ylUTY-ymcXvCvyASw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ab66910c9468a5f11648c36a32be90f88dc1ff53",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112147/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T18:36:49.646138Z"
}