List and retrieve diffs with detailed revision information

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

{
    "id": 1072544,
    "revision": {
        "id": 473814,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c606c420560736c2182e2664024067058dd497ae",
        "head_changeset": "409099ab00347ee3103b1ee939cc19b7b6610d88",
        "phabricator_id": 247198,
        "phabricator_phid": "PHID-DREV-47r5x43xgd66fl233awy",
        "title": "Bug 1941441 - Leverage nsAsyncIOManager in NS_MakeAsyncNonBlockingInputStream(). r?#xpcom-reviewers",
        "bugzilla_id": 1941441,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473814/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473814/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247198"
    },
    "phid": "PHID-DIFF-lrnobsfvky4bt5fue6jb",
    "review_task_id": "U_vhIBl6TwunU0vhks0P7A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4f5065caa94e1d6fb4e8cf9f3cac91deb021c21e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072544/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T18:16:35.517850Z"
}