List and retrieve diffs with detailed revision information

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

{
    "id": 1101541,
    "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-hia5x2bmfp5h2ehub3sk",
    "review_task_id": "aMyx3nlqS5SHvMCQGw94VA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d0d82fc78a14c4a3ca1ec98715fa0dcc3d4c2d15",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101541/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-06T04:49:48.287985Z"
}