List and retrieve diffs with detailed revision information

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

{
    "id": 1054807,
    "revision": {
        "id": 477800,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ed6c5931ea58e3a25a0fab37052dc44f01da7580",
        "head_changeset": "1813a0711e64e5f58d4ee3b1506748ed6e604c7c",
        "phabricator_id": 252948,
        "phabricator_phid": "PHID-DREV-2vygjl3g4qni4ofdjneq",
        "title": "WIP: Bug 1971025 - Catch build/compilation failures and report them on phabricator.",
        "bugzilla_id": 1971025,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477800/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477800/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252948"
    },
    "phid": "PHID-DIFF-7zar5nfndstnzdcm4n5t",
    "review_task_id": "dQI3nftpTNKtxl4SnE6oPA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1813a0711e64e5f58d4ee3b1506748ed6e604c7c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054807/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-08T04:08:53.338647Z"
}