List and retrieve diffs with detailed revision information

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

{
    "id": 1107035,
    "revision": {
        "id": 514359,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "39f0dc0f24d549dd713351d8c6f84fab09227dce",
        "head_changeset": "4981a78cf4591c6022c41808889f473fe31dd551",
        "phabricator_id": 261393,
        "phabricator_phid": "PHID-DREV-alkz3wzp6lz4c7wsia2c",
        "title": "Bug 1983512 - Make command events not composed r?#dom-core,smaug",
        "bugzilla_id": 1983512,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514359/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514359/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261393"
    },
    "phid": "PHID-DIFF-tqw36fbxzjozxhohwgc7",
    "review_task_id": "ajkB5QxfQ8GMuLe7EKLnng",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "348597f29da08d2a80694b8f86f5adfad6844617",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107035/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-18T12:52:20.975078Z"
}