List and retrieve diffs with detailed revision information

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

{
    "id": 1102120,
    "revision": {
        "id": 507274,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f15149f689f59ded11af1a7232cfd8fb092e600f",
        "head_changeset": "d0d82fc78a14c4a3ca1ec98715fa0dcc3d4c2d15",
        "phabricator_id": 260092,
        "phabricator_phid": "PHID-DREV-x63b5lown2tb6zmtsukk",
        "title": "Bug 1981285 - Part 2: Move UnlockPrivateTabsFragment.kt and UnlockPrivateTabsScreen.kt out of `biometricauthentication` package",
        "bugzilla_id": 1981285,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/507274/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/507274/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260092"
    },
    "phid": "PHID-DIFF-imde7mkkynqoouj4vyyw",
    "review_task_id": "GVlAGV8LQjapB_35bhaUYQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "160fd0f7fb43d1ec86e98c27c579b6f00f42646a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1102120/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-06T23:57:35.178214Z"
}