List and retrieve diffs with detailed revision information

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

{
    "id": 1106640,
    "revision": {
        "id": 513868,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0a5fc8db79ed7e73b2f6a17855cda9a6c842bdae",
        "head_changeset": "0c2dca11f42dae47558cf891e1b03b9e1b67a2b1",
        "phabricator_id": 261287,
        "phabricator_phid": "PHID-DREV-o2ra2bwg5lkje5hs3cov",
        "title": "WIP: Bug 1971628 - Part 1: add support for listening to click events on certain setting controls r=#mstriemer",
        "bugzilla_id": 1971628,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513868/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513868/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261287"
    },
    "phid": "PHID-DIFF-4r6gileji75s65vcrwmb",
    "review_task_id": "bGUj1Jt7Shq-BsV9dUU1lw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0c2dca11f42dae47558cf891e1b03b9e1b67a2b1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1106640/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-15T19:36:54.307385Z"
}