List and retrieve diffs with detailed revision information

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

{
    "id": 1111248,
    "revision": {
        "id": 520305,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3ada3d6758ba1b2823967cac39e1c6d40ff6b2a6",
        "head_changeset": "3d71a1e6b1828767fcf8583d70cc4d407f84405d",
        "phabricator_id": 262440,
        "phabricator_phid": "PHID-DREV-6ry6pzkbhbodlf66jxj3",
        "title": "Bug 1980225 - fix race condition with content analysis and printing to file r=handyman!",
        "bugzilla_id": 1980225,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520305/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520305/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262440"
    },
    "phid": "PHID-DIFF-mojgryptnccwtweoussy",
    "review_task_id": "UtcDHTujQN-fFlWHGIBMhg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3d71a1e6b1828767fcf8583d70cc4d407f84405d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111248/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T18:17:58.458675Z"
}