List and retrieve diffs with detailed revision information

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

{
    "id": 1105371,
    "revision": {
        "id": 510564,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a8a8028addc8ef776b6f2ce3ec7c88b1093ba706",
        "head_changeset": "a273103067b7ba1a51d3003f94aa851f43d6e3f6",
        "phabricator_id": 260672,
        "phabricator_phid": "PHID-DREV-voh3wez6i56xoa6f4lgz",
        "title": "Bug 1982328 - Part 9: Remove unused function in ModuleLoaderBase.cpp r?allstarschh",
        "bugzilla_id": 1982328,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510564/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510564/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260672"
    },
    "phid": "PHID-DIFF-2x72tcs3gwmowvwo7qy3",
    "review_task_id": "GlJBvRgLR8eurVxTIONgrQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "23daca660f3ca4926826cd0a7267a317cb33eaed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105371/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T14:46:37.571493Z"
}