List and retrieve diffs with detailed revision information

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

{
    "id": 1072006,
    "revision": {
        "id": 473470,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4db38b990538769ac3123386adbb68d70239ea76",
        "head_changeset": "e2d00a2c61fc77ece147d74bfb07bb8c47e1a022",
        "phabricator_id": 246708,
        "phabricator_phid": "PHID-DREV-ipm7dnxpwspxdkvgz4bk",
        "title": "Bug 1946130: Simplified structure of TimerThread::Run() to be clearer where the loop is and what it does r=smaug,#xpcom-reviewers",
        "bugzilla_id": 1946130,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473470/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473470/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D246708"
    },
    "phid": "PHID-DIFF-j5v7ounacu2qbej3kaye",
    "review_task_id": "eT_dGBkRTa2KMd1UZUipGw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9a806e543b8ce0bc5c93dd79e628a9aa40dc66a7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072006/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T03:26:42.437906Z"
}