List and retrieve diffs with detailed revision information

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

{
    "id": 1085922,
    "revision": {
        "id": 495327,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b7e8fda9d4923636a71c2d6d344f0c75126c9d34",
        "head_changeset": "5812bf917c9c79e5edbe5915696fa3cd4b7e3c02",
        "phabricator_id": 257170,
        "phabricator_phid": "PHID-DREV-koavvkwpr6qhim6eo7sw",
        "title": "WIP: Bug 1856615: Disable nsCocoaWindow local run loops.",
        "bugzilla_id": 1856615,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495327/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495327/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257170"
    },
    "phid": "PHID-DIFF-wnhyxor3kvqwgv65vgkj",
    "review_task_id": "aPrMI3NyT22AAQFJ7C1wfQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "233ef08db0fa18f3109d7158cc58c3cdd8e6a64c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1085922/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T17:55:23.040363Z"
}