List and retrieve diffs with detailed revision information

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

{
    "id": 1071700,
    "revision": {
        "id": 484855,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c54ffd11b3db4438d561403b39c397e534b74a13",
        "head_changeset": "35181ab1ef7da986fa0da705e9c8f3886f418b23",
        "phabricator_id": 254871,
        "phabricator_phid": "PHID-DREV-vobf6bfcp63rj47624tc",
        "title": "Bug 1973005 - don't open about:blank when double-clicking on blocked download r=Gijs",
        "bugzilla_id": 1973005,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484855/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484855/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254871"
    },
    "phid": "PHID-DIFF-tix4qwj3ppy75kcvf2gt",
    "review_task_id": "SGX5CPHfQGOA2p6kq_lpuA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "35181ab1ef7da986fa0da705e9c8f3886f418b23",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1071700/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-24T19:55:39.240584Z"
}