List and retrieve diffs with detailed revision information

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

{
    "id": 1055433,
    "revision": {
        "id": 477915,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f2b9d4c02a75a833b2b73d9abdab4b6a301d74e7",
        "head_changeset": "4af2ffd32964baee1551102583456106308c3b59",
        "phabricator_id": 253080,
        "phabricator_phid": "PHID-DREV-ghllwompyqy3cr6yh2k4",
        "title": "WIP: Bug 1969595 - Add telemetry for the trending search widget",
        "bugzilla_id": 1969595,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477915/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477915/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253080"
    },
    "phid": "PHID-DIFF-bbj5lw3ilzpe6dinq2iy",
    "review_task_id": "b8PAp99qSKWw1UIpUgqRCQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4af2ffd32964baee1551102583456106308c3b59",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055433/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T21:06:03.703406Z"
}