List and retrieve diffs with detailed revision information

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

{
    "id": 1086425,
    "revision": {
        "id": 486727,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16ecb9de093bdc813dd7e11b920a7f9138c9da1f",
        "head_changeset": "864aa91a52b53438f0ff5371cb93adf1e377eb07",
        "phabricator_id": 255307,
        "phabricator_phid": "PHID-DREV-vj377tyfvfenwyurveyb",
        "title": "Bug 1973033 - Part 11: Update buffer allocator stats to report small regions r?sfink",
        "bugzilla_id": 1973033,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486727/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486727/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255307"
    },
    "phid": "PHID-DIFF-qrizibv4glnd5dldbf3t",
    "review_task_id": "ab3Lgs9cTQmbv7VnfrF12A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "36d41e24cc21f629112ceb03d1d2a5ef7d3301c1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086425/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T16:06:03.297088Z"
}