List and retrieve diffs with detailed revision information

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

{
    "id": 1051563,
    "revision": {
        "id": 477187,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "10739603ee34408c4aae47226ada97efced2a014",
        "head_changeset": "c5740a2bd7844ffbf72dd8e3650492ebb50d55f7",
        "phabricator_id": 252268,
        "phabricator_phid": "PHID-DREV-2qvu3shqonflmfavnqye",
        "title": "Bug 1970022 - Remove things from nsIMsgAccountManager that don't need to be there. r=#thunderbird-reviewers",
        "bugzilla_id": 1970022,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477187/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477187/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252268"
    },
    "phid": "PHID-DIFF-llxshfnlanjv2baspuft",
    "review_task_id": "MceOdSpDRXKZF1Z8_2ZQHw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c5740a2bd7844ffbf72dd8e3650492ebb50d55f7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051563/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T02:34:34.606970Z"
}