List and retrieve diffs with detailed revision information

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

{
    "id": 1057845,
    "revision": {
        "id": 478263,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1ad53e5a89adb1da8e381af37959c7dd5e3fd44e",
        "head_changeset": "12b05381973f1ca933c8e19b6be60240d8cc881b",
        "phabricator_id": 253488,
        "phabricator_phid": "PHID-DREV-u274mn3mrgvmsoagv3rr",
        "title": "WIP: Bug 1971683 - Text Fragments: Remove the text fragment from the urlbar after removing text directives from the page.",
        "bugzilla_id": 1971683,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478263/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478263/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253488"
    },
    "phid": "PHID-DIFF-hlsydq3yr3pmunb4hlfd",
    "review_task_id": "f29jCguNSJG4Tgai6zaAyw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b654ea33d738bba3ebc7e7f3149d2fd70f3d044c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057845/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T17:07:41.295919Z"
}