List and retrieve diffs with detailed revision information

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

{
    "id": 1108584,
    "revision": {
        "id": 501315,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "18b7a940ba03e23ff5e213809c83af62bba9984a",
        "head_changeset": "492f0ab3d168bf237773de2ccc69a9c069aa481c",
        "phabricator_id": 258720,
        "phabricator_phid": "PHID-DREV-puyio2exwse5as324i35",
        "title": "Bug 1976493 - Add an API to BrowsingContext to override timezone in JS APIs.",
        "bugzilla_id": 1976493,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/501315/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/501315/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258720"
    },
    "phid": "PHID-DIFF-hr6cgte4lfzbrgt2y4h6",
    "review_task_id": "ZKx6Z-xvTjCbij7IW6caWA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9d77af35ae5f8499979952b477991029265e2496",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108584/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T11:35:32.029144Z"
}