List and retrieve diffs with detailed revision information

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

{
    "id": 1107554,
    "revision": {
        "id": 514970,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "658cb05d36b532a881094e9bd78b0e726f973d58",
        "head_changeset": "b2aa4097f4e91116d0e33f59699539523b7293f8",
        "phabricator_id": 261513,
        "phabricator_phid": "PHID-DREV-uiphfypxc6odmgtgwe7j",
        "title": "Bug 1975592 - Fix typos in dom/base/tests r=freddyb",
        "bugzilla_id": 1975592,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514970/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514970/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261513"
    },
    "phid": "PHID-DIFF-2uwrtm32gepce4sd45w4",
    "review_task_id": "cXbHWzq3RwyrnR3LltDeJQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b2aa4097f4e91116d0e33f59699539523b7293f8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107554/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T04:31:24.313671Z"
}