List and retrieve diffs with detailed revision information

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

{
    "id": 1079365,
    "revision": {
        "id": 492055,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "34286ef9fa60431a6928c68b46c61f982316ac1f",
        "head_changeset": "04f23b8f8a4857b1822978e44f2dae90fd3e4d55",
        "phabricator_id": 256434,
        "phabricator_phid": "PHID-DREV-xawqvlnbxcarcadrskdf",
        "title": "Bug 1732258 - Switch to fully self-generated Enterprise policy documentation. r=#thunderbird-reviewers",
        "bugzilla_id": 1732258,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492055/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492055/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256434"
    },
    "phid": "PHID-DIFF-mmvzba73ygocinngmcan",
    "review_task_id": "TXI-yVpjQROXNtBRk06gKg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "80267dc6fde8b7fd811deef0826fabaf1341b222",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079365/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T11:54:45.907988Z"
}