List and retrieve diffs with detailed revision information

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

{
    "id": 1104969,
    "revision": {
        "id": 499313,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5a7b25bef8678c80c7e182126d870e85f5dcbe8d",
        "head_changeset": "0ee742bab76710bf800dd6dbcb2b84790bc30581",
        "phabricator_id": 258248,
        "phabricator_phid": "PHID-DREV-ewrf2zh6jsx5vkxdayyl",
        "title": "Bug 1976028 - Part 2: Add a helper to record proxy-usage to glean r=#ip-protection-reviewers!",
        "bugzilla_id": 1976028,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/499313/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/499313/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258248"
    },
    "phid": "PHID-DIFF-vh4ukryfq4mmcxqwbagl",
    "review_task_id": "abjvqjujTcKxzTA4HNepdw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2d646810c11921eece10b42b29bc725313c0a89e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104969/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T19:38:21.766007Z"
}