List and retrieve diffs with detailed revision information

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

{
    "id": 1041586,
    "revision": {
        "id": 475404,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "7df276f1b3da657cf554a169723091033507bcf4",
        "head_changeset": "acb29485aa5fdc43c813546bb687f14a9ff7bb35",
        "phabricator_id": 249847,
        "phabricator_phid": "PHID-DREV-rrlbb35csk4eapc6lwtj",
        "title": "Bug 1679333 - Remove use of `FindSubFolder` in `nsLocalMailFolder`. r=BenC,darktrojan,#thunderbird-back-end-reviewers",
        "bugzilla_id": 1679333,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475404/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475404/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249847"
    },
    "phid": "PHID-DIFF-bscyhspzgooow7ytx2au",
    "review_task_id": "JYcV3QX_RM67lzpLJdJbvQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "f21b68c91c076d9ae91f341a587b1b9a9f2ab4e4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1041586/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-22T21:33:55.214002Z"
}