List and retrieve diffs with detailed revision information

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

{
    "id": 1074532,
    "revision": {
        "id": 481101,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a550307db44edec2f1ffbcd85f561d1f3a14f660",
        "head_changeset": "73647483b43e2e7b7ec81d2d9076a4218da7de97",
        "phabricator_id": 253430,
        "phabricator_phid": "PHID-DREV-je7brjlwur5l2sryhjb6",
        "title": "Bug 1964522 - Part 6 - Fix `FAB` M3 breakages",
        "bugzilla_id": 1964522,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481101/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481101/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253430"
    },
    "phid": "PHID-DIFF-4ufcqkw6iontygmhyes5",
    "review_task_id": "IVB6yxVNTNuxUEKgh_bRiQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "180d2fa45daa999a87428ed7e9579bece584c495",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074532/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T18:55:15.861393Z"
}