List and retrieve diffs with detailed revision information

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

{
    "id": 1076382,
    "revision": {
        "id": 489220,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fc8fb2b7d182c0d241d5a9c2e2789821b8d38b28",
        "head_changeset": "b7532e3316e488c8e58ee6bcf40e68f87d2dedf3",
        "phabricator_id": 255725,
        "phabricator_phid": "PHID-DREV-fenyyhnjtj2clwadvfhb",
        "title": "Bug 1974913 - part 2: Spin the lambdas in `AutoInsertParagraphHandler` off as methods of the class r=m_kato!",
        "bugzilla_id": 1974913,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489220/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489220/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255725"
    },
    "phid": "PHID-DIFF-pbolpsatsgdsxmvjwkwj",
    "review_task_id": "KWWqdx02Sci3OSV6km7kbw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b7532e3316e488c8e58ee6bcf40e68f87d2dedf3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076382/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T01:02:07.741849Z"
}