List and retrieve diffs with detailed revision information

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

{
    "id": 1102207,
    "revision": {
        "id": 505823,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "66eb1bb3ac0a3b188eae58341c230d51b1ffe2a0",
        "head_changeset": "98c8f1d96c637d77c26b5156a12c08a00543a573",
        "phabricator_id": 259701,
        "phabricator_phid": "PHID-DREV-st4bmztlvsy3q2hzzeh6",
        "title": "Bug 1979235 - Part 1: Refactor TopSiteInteractor out of SessionControlInteractor into its own file",
        "bugzilla_id": 1979235,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505823/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505823/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259701"
    },
    "phid": "PHID-DIFF-2rh2rllgcv3a65gq4hsf",
    "review_task_id": "ZpKfTp0yRAKwEmGSvuGhgw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "988f9e5657a96dac7c65120045aa4245fde6cf09",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1102207/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-07T06:25:56.107258Z"
}