List and retrieve diffs with detailed revision information

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

{
    "id": 1101606,
    "revision": {
        "id": 506782,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3aa49d22daec85ab6d133e78cdc66f060116ae7c",
        "head_changeset": "61e3bb926a17e78fab60719533b619c54d0248b5",
        "phabricator_id": 259969,
        "phabricator_phid": "PHID-DREV-fpmozjys47bpzkee4lpo",
        "title": "Bug 1971780 - [bidi] Delete collected data if no navigable or collector matches",
        "bugzilla_id": 1971780,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/506782/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/506782/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259969"
    },
    "phid": "PHID-DIFF-j73p7akhidmfanjwixy4",
    "review_task_id": "NBflQbYTTdOFG0xwSEW0CQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4db535e4401ff06de51b56d981cb26a98e981ecc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101606/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-06T08:33:40.208871Z"
}