List and retrieve diffs with detailed revision information

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

{
    "id": 1072325,
    "revision": {
        "id": 485216,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "af095fbba257bf8e683b6445b5b494e777443473",
        "head_changeset": "d87dc94b7c512af6ee2678e3b4a3713a860521f5",
        "phabricator_id": 254811,
        "phabricator_phid": "PHID-DREV-xun7spo3unorvokce2rn",
        "title": "Bug 1943623 - Remove Error Stack Accessor Telemetry; r=mgaudet!",
        "bugzilla_id": 1943623,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485216/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485216/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254811"
    },
    "phid": "PHID-DIFF-dfcjvar525d5g6353wlj",
    "review_task_id": "PtEh_f8yTbeUY7gU5tXngQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d87dc94b7c512af6ee2678e3b4a3713a860521f5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072325/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T14:50:07.943628Z"
}