List and retrieve diffs with detailed revision information

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

{
    "id": 1079900,
    "revision": {
        "id": 492593,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "caaef008fd500d54003e4dc1176dd6590f8af5d8",
        "head_changeset": "859e07175016829388598367e43f3deb42e65164",
        "phabricator_id": 256558,
        "phabricator_phid": "PHID-DREV-ygec5p5mohgi6bgey34u",
        "title": "Bug 1976378 - Ignore message loading notifications if they're not for the current message. r=#thunderbird-reviewers",
        "bugzilla_id": 1976378,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492593/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492593/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256558"
    },
    "phid": "PHID-DIFF-4vfu7bn52cruvh5x6hsm",
    "review_task_id": "JpiZEI8uQbCCh1dCeV6PCA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "859e07175016829388598367e43f3deb42e65164",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079900/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T03:20:26.130295Z"
}