List and retrieve diffs with detailed revision information

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

{
    "id": 1039835,
    "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-47eas6hihuaggw3s2ppx",
    "review_task_id": "I0LR6w4STKO8OWcXBsm0cg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "e166b777c81ab5d6409a90b68d25129940552f26",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039835/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T16:02:38.697398Z"
}