List and retrieve diffs with detailed revision information

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

{
    "id": 1112349,
    "revision": {
        "id": 521427,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "edcc62f09d347bd7e8f9d322780f46b28f5d4a01",
        "head_changeset": "0a55df1e1bb8ead1d08d91caa8f96691a96bbd61",
        "phabricator_id": 262691,
        "phabricator_phid": "PHID-DREV-tfxynm2n2xojydybtgpy",
        "title": "Bug 1980274 - Part 1: Add the Taskbar Tab's favicon into the corner of the window. r=nrishel!,sclements,Jamie",
        "bugzilla_id": 1980274,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521427/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521427/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262691"
    },
    "phid": "PHID-DIFF-siazsjoqhyih3pbzu5wq",
    "review_task_id": "PDjTuiEmRoOQgXLxKGvyUQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0a55df1e1bb8ead1d08d91caa8f96691a96bbd61",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112349/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T22:06:47.618036Z"
}