List and retrieve diffs with detailed revision information

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

{
    "id": 1105657,
    "revision": {
        "id": 512201,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c51cabb2e48997969eb68ba245067238fbe46ec",
        "head_changeset": "c2b8ee45df6a981f02c9a9313d4f1780485d1312",
        "phabricator_id": 260998,
        "phabricator_phid": "PHID-DREV-eu3qr3wmlbpun3m6cyad",
        "title": "Bug 1975509 - Move TypeScript node_module installation to the top-level of the repository. r?zombie!,#frontend-codestyle-reviewers!",
        "bugzilla_id": 1975509,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512201/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512201/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260998"
    },
    "phid": "PHID-DIFF-rr6pwqgljvin5qmaa554",
    "review_task_id": "PS_NYFa7TnyCmr1iCJ6dwQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "81f5c287a46169d1a1aba01ab8281b71384848e8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105657/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T21:12:35.586772Z"
}