List and retrieve diffs with detailed revision information

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

{
    "id": 1039044,
    "revision": {
        "id": 474207,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "46f462787c89c3b8ffca85f3b56fb232f516ace5",
        "head_changeset": "833fe239fa6b363ebd62889985e9413b168be783",
        "phabricator_id": 247670,
        "phabricator_phid": "PHID-DREV-rro26pzowwbcb3wdg4dv",
        "title": "WIP: Bug 1889757 Part 3: Make nsCocoaWindow hold a PlatformCompositorWidgetDelegate pointer.",
        "bugzilla_id": 1889757,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474207/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474207/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247670"
    },
    "phid": "PHID-DIFF-udi3g4q23vxy3blsmxt4",
    "review_task_id": "BpCzQQSRRUOGa3agTpP6LA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d37818fb961b5fd87a997ba592dce96f19d4d9c9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039044/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T21:10:07.092119Z"
}