List and retrieve diffs with detailed revision information

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

{
    "id": 1051704,
    "revision": {
        "id": 477216,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "83282e03aeada23bfaffed73d63643c41fa21949",
        "head_changeset": "a9b2b97ef75fe3423a8b6aafdb931b6c2d652060",
        "phabricator_id": 252305,
        "phabricator_phid": "PHID-DREV-u76iuwrlvnbwycqbqktp",
        "title": "Bug 1969845 - Don't access arenas that may be being swept off-thread while checking the heap before minor GC r?sfink",
        "bugzilla_id": 1969845,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477216/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477216/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252305"
    },
    "phid": "PHID-DIFF-trleaaetys2opy35i4ed",
    "review_task_id": "FaRzLHb-QhSZFAseRFNLcA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a9b2b97ef75fe3423a8b6aafdb931b6c2d652060",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051704/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T10:43:28.623334Z"
}