List and retrieve diffs with detailed revision information

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

{
    "id": 1079064,
    "revision": {
        "id": 491656,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f02209f56f063527d6ee9041181f01b4c845d998",
        "head_changeset": "3e9da5005270c0c674ac13eca0ee376d7252cf0c",
        "phabricator_id": 256363,
        "phabricator_phid": "PHID-DREV-65y5uzvsjkjnijvap4od",
        "title": "WIP: Bug 1961204 - Update telemetry.rst files in search and address bar code to indicate that those docs only cover Legacy telemetry, not Glean telemetry",
        "bugzilla_id": 1961204,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491656/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491656/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256363"
    },
    "phid": "PHID-DIFF-x36t27524ke5m3rdjhw5",
    "review_task_id": "ZtBWBNLvT0u3e8ITH3MStw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "00e2f2f125ca5d926f473bf128c22c2323571859",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079064/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T21:29:07.007568Z"
}