List and retrieve diffs with detailed revision information

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

{
    "id": 1077265,
    "revision": {
        "id": 487664,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "53aadfd4338b3d2010e70395ca9608d593b3c911",
        "head_changeset": "9d40083114ea27d1f9ee937da81246f93f44c69f",
        "phabricator_id": 255414,
        "phabricator_phid": "PHID-DREV-qhk4otqz4rbk2wxdaa4j",
        "title": "Bug 1974578 - Add oncommand global handler r?#dom-core",
        "bugzilla_id": 1974578,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487664/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487664/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255414"
    },
    "phid": "PHID-DIFF-g6qsowa77d2v7e2wmxbm",
    "review_task_id": "R6Z5GZrhRXe6ePU97JaoQw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "291522a2be85c393d3c620bcfe208641baef77e7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077265/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T09:01:31.787334Z"
}