List and retrieve diffs with detailed revision information

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

{
    "id": 1078589,
    "revision": {
        "id": 491230,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1fdf8d8bdb2b440a5d39166972c890435595f183",
        "head_changeset": "bed68cbc74a41b2e415e77c75c3bc0081bf04539",
        "phabricator_id": 256191,
        "phabricator_phid": "PHID-DREV-lyf2u5r4pzqofyczgzxl",
        "title": "WIP: Bug 1964037 - Increase the sequence # in SetDelay for one shot timers. r?#xpcom-reviewers",
        "bugzilla_id": 1964037,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491230/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491230/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256191"
    },
    "phid": "PHID-DIFF-3p4rvzkf6uwbe2awuuzr",
    "review_task_id": "L-sLyqGMT9CPG8oMkgl2dw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f5823a75f1e60b52777c2ce52df6f8ce5e4c2772",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078589/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T08:47:24.073233Z"
}