List and retrieve diffs with detailed revision information

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

{
    "id": 1051835,
    "revision": {
        "id": 476219,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "0c6651cb70100a1f08826c866179a91b70ff619a",
        "head_changeset": "16093a9a67c6b117ac5ed0962801772ac89e4e04",
        "phabricator_id": 251012,
        "phabricator_phid": "PHID-DREV-rlqqviol653wux43v7ru",
        "title": "Bug 1967807 - Add local address book step to account hub. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1967807,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476219/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476219/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251012"
    },
    "phid": "PHID-DIFF-cujujjhp7wf2g5xya7tn",
    "review_task_id": "aQLeCIKET3m4dFwHd2mTyg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9b3b64431303482dfcf285507724da419bf58507",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051835/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T14:15:50.896981Z"
}