List and retrieve diffs with detailed revision information

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

{
    "id": 1051564,
    "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-b5eoikvnolynwd53ablv",
    "review_task_id": "c8xZl3KDS32_VV4VePfmeQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "25b2d2cebcc618fc213b677dc13da47604b827f4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051564/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T02:34:43.793697Z"
}