List and retrieve diffs with detailed revision information

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

{
    "id": 1104254,
    "revision": {
        "id": 501442,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a84c0c04a892c18a4ab3d40765d94d1f834710ab",
        "head_changeset": "bf58a1451e37799d99b7a0e55af975e8e0a1f975",
        "phabricator_id": 258749,
        "phabricator_phid": "PHID-DREV-myml2e5zuu3iphqcrjru",
        "title": "Bug 1955106 - Implement Preferences Observer Delegate",
        "bugzilla_id": 1955106,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/501442/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/501442/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258749"
    },
    "phid": "PHID-DIFF-mvpxbugztin6tqogus3e",
    "review_task_id": "fo2mZEQxQcia1M363k4LUg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a99976009182cb51538561196cf32897e3ab3dfb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104254/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-11T18:46:40.751730Z"
}