List and retrieve diffs with detailed revision information

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

{
    "id": 1105410,
    "revision": {
        "id": 498185,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "65df572dfb32c14493e6d5fe666d109e18711f55",
        "head_changeset": "9a8b7769f81a7ac33ec001e585340a52f25a3f66",
        "phabricator_id": 257904,
        "phabricator_phid": "PHID-DREV-nk4hsvuqrifijqkar6lt",
        "title": "WIP: Bug 1978161 - Add infrastructure for proxying and monitoring the bandwidth usage of browsers from sponsor clicks.",
        "bugzilla_id": 1978161,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/498185/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/498185/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257904"
    },
    "phid": "PHID-DIFF-r6rbxnhjqlqphmo45pbo",
    "review_task_id": "BXd3_8tPSH2twszgpF88Gw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a766dbaae2a84a32b40086b51a88656b4a6c5c0c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105410/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T15:01:33.326745Z"
}