List and retrieve diffs with detailed revision information

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

{
    "id": 1080935,
    "revision": {
        "id": 485541,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1dae6583533dab5a05c4b2b11b181027346bf2b4",
        "head_changeset": "476e7ffe7f9f4fffd2031e9ac3fdba6224d150ee",
        "phabricator_id": 254875,
        "phabricator_phid": "PHID-DREV-onfokhbkeuoqi7w7dva4",
        "title": "WIP: Bug 1973530 - Update IdentityCredential to show the configURL and isAutoReauthn r?#anti-tracking!",
        "bugzilla_id": 1973530,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485541/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485541/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254875"
    },
    "phid": "PHID-DIFF-jqsk5xhscxst4b55yyp5",
    "review_task_id": "SilNlrmNSyeLv61MNpa1BQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "52d14f092c0b3662ed60249654912c84058600d6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080935/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T16:51:48.619880Z"
}