List and retrieve diffs with detailed revision information

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

{
    "id": 1079543,
    "revision": {
        "id": 492011,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "6830306b04f556534f8978fed8de7478071be194",
        "head_changeset": "01445754f5b8edfd1b26a0b81725dafdb3a83ca4",
        "phabricator_id": 256408,
        "phabricator_phid": "PHID-DREV-slxovkfnh65iljx72wov",
        "title": "Bug 1954960 - Disable perma-failing comm/mail/components/shell/test/unit/test_shellService.js for mac. r=#thunderbird-reviewers",
        "bugzilla_id": 1954960,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492011/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492011/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256408"
    },
    "phid": "PHID-DIFF-xwmtbrhrdeweenpx4jws",
    "review_task_id": "KUjKwz-_Sn284ImmakEl8A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "2197667786ea52d0d1ae93d42d2647431c46791b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079543/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T16:08:14.646566Z"
}