List and retrieve diffs with detailed revision information

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

{
    "id": 1107277,
    "revision": {
        "id": 497346,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b50843ed6eacc1f1fc9588e399a50380d1652788",
        "head_changeset": "390fcb3e0805a618dfc6dfb2ec88ddefc168a83d",
        "phabricator_id": 257523,
        "phabricator_phid": "PHID-DREV-sb65cvdgzqt47ep3j3va",
        "title": "WIP: Bug 1956859:  Can stop the profiler through adb",
        "bugzilla_id": 1956859,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497346/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497346/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257523"
    },
    "phid": "PHID-DIFF-ykauqt6nm2fakvvwmbf6",
    "review_task_id": "T4ig7R3LTEyP0-LRhf1B4A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c2ab24856b1ed93ff81c777217699041959f8672",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107277/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-18T18:34:57.238885Z"
}