List and retrieve diffs with detailed revision information

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

{
    "id": 1105513,
    "revision": {
        "id": 512103,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c51cabb2e48997969eb68ba245067238fbe46ec",
        "head_changeset": "9afe6fe7dc62d9758c43d734f6893db51d83f880",
        "phabricator_id": 260974,
        "phabricator_phid": "PHID-DREV-3q2xqpe4vgzrl3gubuvy",
        "title": "Bug 1982822 - Invert IPProtection and IPProtectionService init and uninit. r=#ip-protection-reviewers!",
        "bugzilla_id": 1982822,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512103/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512103/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260974"
    },
    "phid": "PHID-DIFF-cu6ojj2okjjandyzpxau",
    "review_task_id": "Pkt9TbpqRqKgYmlahaQ0sg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a808aaafe5cc092de42115649de7d871d1dfe9b0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105513/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T17:21:09.772772Z"
}