List and retrieve diffs with detailed revision information

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

{
    "id": 1112199,
    "revision": {
        "id": 521333,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ce47d913983c57a7b48d8a0f08e431b5dd7ab732",
        "head_changeset": "2c7204cc37b6a5c3821360266cd5297bfc9c7470",
        "phabricator_id": 262634,
        "phabricator_phid": "PHID-DREV-6sbm3rpdyl3vj66kbwb7",
        "title": "Bug 1979371 - Remove colors that were only used in folder pane. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1979371,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521333/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521333/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262634"
    },
    "phid": "PHID-DIFF-r27ypstpdhpqgkh73plo",
    "review_task_id": "ddP8WnJtTCajoH3QXWFrdg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "2c7204cc37b6a5c3821360266cd5297bfc9c7470",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112199/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T19:29:42.139602Z"
}