List and retrieve diffs with detailed revision information

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

{
    "id": 1077996,
    "revision": {
        "id": 489841,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b5426822a70290fabe65b14267db7f8d630eb330",
        "head_changeset": "44376954793a49b41c1050d03b8815d32d420197",
        "phabricator_id": 255893,
        "phabricator_phid": "PHID-DREV-6j55zvluprqxwyhid4ul",
        "title": "Bug 1937308 - [devtools] Wait for blackbox action in browser_dbg-blackbox.js",
        "bugzilla_id": 1937308,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489841/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489841/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255893"
    },
    "phid": "PHID-DIFF-p4xyxgowgh4h6ekfay7p",
    "review_task_id": "KYy_tN2qTWmXs6FvVH6m9g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "91a7baf840709076c8d162e3bd38dfcfefdf5a51",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077996/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T09:55:44.639985Z"
}