List and retrieve diffs with detailed revision information

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

{
    "id": 1052406,
    "revision": {
        "id": 477345,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ed7d071d34e48769a07d19262e307919ebfa8753",
        "head_changeset": "bde1bd9893a8b9bc294aa05b645e7a13838819f7",
        "phabricator_id": 252426,
        "phabricator_phid": "PHID-DREV-tp47fmx4msn7qk5dai7t",
        "title": "Bug 1639252 - Limit SQLite analysis workload with PRAGMA analysis_limit - r?mak!",
        "bugzilla_id": 1639252,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477345/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477345/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252426"
    },
    "phid": "PHID-DIFF-kq5aqmgwskhp7uz2jxlf",
    "review_task_id": "MiLhDxLFTPCmWwbrPWimRQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bde1bd9893a8b9bc294aa05b645e7a13838819f7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052406/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T02:06:11.643021Z"
}