List and retrieve diffs with detailed revision information

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

{
    "id": 1105760,
    "revision": {
        "id": 512693,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c51cabb2e48997969eb68ba245067238fbe46ec",
        "head_changeset": "934bd398ef64b2927abd5a6e0f84fffbdfb8586a",
        "phabricator_id": 261057,
        "phabricator_phid": "PHID-DREV-lolptz4kmzsvaroae23o",
        "title": "WIP: Bug 1982963 - Test case to make sure LinuxMemoryPSI is in the crash report.",
        "bugzilla_id": 1982963,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512693/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512693/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261057"
    },
    "phid": "PHID-DIFF-xxstjpmtid4cfgpbf2of",
    "review_task_id": "Mg0c99gTSc2AZo5y4NE8SA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "934bd398ef64b2927abd5a6e0f84fffbdfb8586a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105760/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T00:51:02.894583Z"
}