List and retrieve diffs with detailed revision information

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

{
    "id": 1081233,
    "revision": {
        "id": 493643,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "d58028c0fdaa41ceab934c98f10c8ad0f983b945",
        "head_changeset": "caec2a655c2de3b246b38ecb07f48ee704ad0d4b",
        "phabricator_id": 256914,
        "phabricator_phid": "PHID-DREV-l7zfc323527txqvxw6bh",
        "title": "WIP: Bug 1976783 - Stop using XPCOM methods to get the Account Manager.",
        "bugzilla_id": 1976783,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493643/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493643/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256914"
    },
    "phid": "PHID-DIFF-vqbnu3hwa66zfuj6v7hz",
    "review_task_id": "GAKlkzHWSfOdEqtzA0c71w",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "2deb64cb8b81f78e03b1d6764cb10f9148f0fab4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081233/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T04:38:00.353160Z"
}