List and retrieve diffs with detailed revision information

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

{
    "id": 1031634,
    "revision": {
        "id": 472127,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7e2aa745c44ce533aeab7d3fb696d50efba6860c",
        "head_changeset": "5a4d5b6bd542a0708393eabec4236ab293460ca6",
        "phabricator_id": 245074,
        "phabricator_phid": "PHID-DREV-e7shmbkkhmfaypsy6xvi",
        "title": "Bug 1958081 - [devtools] Migrate object inspector to the new JS objects test framework.",
        "bugzilla_id": 1958081,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472127/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472127/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245074"
    },
    "phid": "PHID-DIFF-c7pv3ukpuqxvqman3whw",
    "review_task_id": "IJghQJe4QSCFwOVwKErKtg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "04fbbbf85ff6451e21948bb20f441df5a335a2d9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1031634/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-12T12:28:03.582035Z"
}