List and retrieve diffs with detailed revision information

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

{
    "id": 1109521,
    "revision": {
        "id": 517129,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0ad3abe191d578f9aecfcff31f811a303296cccb",
        "head_changeset": "e7d932a2f52f550b5c86e22e3aab8748a94cb4bb",
        "phabricator_id": 261972,
        "phabricator_phid": "PHID-DREV-j6phrmwdzo5bigkfatel",
        "title": "Bug 1982064 - Switch position of 'Share' and 'Refresh' in nav bar to match release",
        "bugzilla_id": 1982064,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517129/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517129/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261972"
    },
    "phid": "PHID-DIFF-if4wsl3ypwxydgbcfbzc",
    "review_task_id": "VagfyVFoTUqa0JRkYY1mzg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e7d932a2f52f550b5c86e22e3aab8748a94cb4bb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109521/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T15:56:21.740533Z"
}