List and retrieve diffs with detailed revision information

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

{
    "id": 1078522,
    "revision": {
        "id": 491317,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "cb659081638e9e30950ff6d1da048aa31e58e822",
        "head_changeset": "b4bc6b7f6452566625730c1c33d121227c103890",
        "phabricator_id": 256210,
        "phabricator_phid": "PHID-DREV-6qfsgdpjsfv6cn5nlnhm",
        "title": "Bug 1975898 - Allow EwsIncomingServer to be the default server. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1975898,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491317/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491317/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256210"
    },
    "phid": "PHID-DIFF-6rpciedo66cecglze7qu",
    "review_task_id": "RzqgsMx2Qqm08CmyihY7-w",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b4bc6b7f6452566625730c1c33d121227c103890",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078522/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T00:34:41.269823Z"
}