List and retrieve diffs with detailed revision information

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

{
    "id": 1078302,
    "revision": {
        "id": 490963,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "c1944a965577bfb83a754aa1beb739f47b87c663",
        "head_changeset": "a41d6a4530a66af9050fdbfd608029fca0decb9a",
        "phabricator_id": 256144,
        "phabricator_phid": "PHID-DREV-53k4uqqkzielec7mmsdl",
        "title": "Bug 1975115 - Replace icon-clear with icon-close for all search fileds. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1975115,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490963/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490963/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256144"
    },
    "phid": "PHID-DIFF-kpcjzpelhrmvu6aungxu",
    "review_task_id": "IOqScnRUQh2owo0N1sg_4w",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a41d6a4530a66af9050fdbfd608029fca0decb9a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078302/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T21:10:28.956915Z"
}