List and retrieve diffs with detailed revision information

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

{
    "id": 1049545,
    "revision": {
        "id": 476820,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e21865e430b479c2d10fd4813cb934aee0f99037",
        "head_changeset": "1a2b60492c95c488c7a1b2f6ff13a5be244717e8",
        "phabricator_id": 251770,
        "phabricator_phid": "PHID-DREV-oocu7j4lyfqhjv6vsbhj",
        "title": "Bug 1969352 - Fix uninitialized variable warnings for iSize/bSize in nsContainerFrame::ComputeSizeWithIntrinsicDimensions when compiling with GCC",
        "bugzilla_id": 1969352,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476820/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476820/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251770"
    },
    "phid": "PHID-DIFF-ypl34ht4d4kxj2xbc5ma",
    "review_task_id": "LOkUPpESSZWWx6QYcsL6Tw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1a2b60492c95c488c7a1b2f6ff13a5be244717e8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049545/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T20:58:15.661884Z"
}