List and retrieve diffs with detailed revision information

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

{
    "id": 1104222,
    "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-47tiq74spraxski62z5q",
    "review_task_id": "OswgJofcRXq6xiO3oWjAIA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ebee04851321ef7b18eec7f2a1ed1a1f4d5563f7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104222/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-11T17:31:45.566570Z"
}