List and retrieve diffs with detailed revision information

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

{
    "id": 1079902,
    "revision": {
        "id": 492607,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "caaef008fd500d54003e4dc1176dd6590f8af5d8",
        "head_changeset": "1afa5ba8a7f5be5a36ac670eeca475979e35783f",
        "phabricator_id": 256559,
        "phabricator_phid": "PHID-DREV-5a7mncev75ap6wk4dca4",
        "title": "Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=#thunderbird-reviewers",
        "bugzilla_id": 1878375,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492607/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492607/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256559"
    },
    "phid": "PHID-DIFF-lmg5zzttlwrldvze3qgt",
    "review_task_id": "HxTXYUDuTwONWHNpSJ02QQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "1afa5ba8a7f5be5a36ac670eeca475979e35783f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079902/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T03:44:43.284194Z"
}