List and retrieve diffs with detailed revision information

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

{
    "id": 1108133,
    "revision": {
        "id": 515557,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "3347ecd814c52f62a4d8636a81857f8be71f40ce",
        "head_changeset": "b3d58690e8c8bfe1feea354f06935a7c1c6b17d8",
        "phabricator_id": 261632,
        "phabricator_phid": "PHID-DREV-hbwazp5g5d5zno22qth4",
        "title": "Bug 1982367 - Enable undo/redo of delete message. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1982367,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515557/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515557/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261632"
    },
    "phid": "PHID-DIFF-ccb53nzc2og7qz2vqu6s",
    "review_task_id": "aUjMap5nRu2m2I0WHGdV_g",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b3d58690e8c8bfe1feea354f06935a7c1c6b17d8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108133/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T19:39:57.126856Z"
}