List and retrieve diffs with detailed revision information

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

{
    "id": 1081130,
    "revision": {
        "id": 493632,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "69deddbd8e11ffb6dea087aaad588a2758216e1e",
        "head_changeset": "110eae6786719ddc8aa15444261d6903b67c38ea",
        "phabricator_id": 256896,
        "phabricator_phid": "PHID-DREV-udtwrdmtauayvkvzdhez",
        "title": "Bug 1974315 - Part 5: Hide homepage section settings when overrideUserSpecifiedHomepageSections is enabled.",
        "bugzilla_id": 1974315,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493632/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493632/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256896"
    },
    "phid": "PHID-DIFF-llvzojcfrp2urefclpso",
    "review_task_id": "EETp4_JQSVeEESmyw4HU9Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "110eae6786719ddc8aa15444261d6903b67c38ea",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081130/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T23:50:54.743860Z"
}