List and retrieve diffs with detailed revision information

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

{
    "id": 1052346,
    "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-7bsduin6mjxp737gr4fe",
    "review_task_id": "MTrcQ9czTE-nvGlBeC_Zyw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "423fc8307e30d4ec13c0ff0dd279064180710e20",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052346/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T23:01:15.328360Z"
}