List and retrieve diffs with detailed revision information

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

{
    "id": 1078772,
    "revision": {
        "id": 491501,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "bd8ca0126343709c85df640ef31b3ed11d4e075d",
        "head_changeset": "54fe31860dc4032f532e8d33afa8aac2cde3d14e",
        "phabricator_id": 256293,
        "phabricator_phid": "PHID-DREV-7znv2wanypr6b6hkfbc4",
        "title": "Bug 1975400 - Don't require EWS scope in autodiscover. r=#thunderbird-reviewers",
        "bugzilla_id": 1975400,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491501/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491501/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256293"
    },
    "phid": "PHID-DIFF-tgdxouqiviiqv7eiyoud",
    "review_task_id": "AbiVpKvSQF2uDpyqBGg3SQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "54fe31860dc4032f532e8d33afa8aac2cde3d14e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078772/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T14:42:46.230204Z"
}