List and retrieve diffs with detailed revision information

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

{
    "id": 1057300,
    "revision": {
        "id": 478074,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "3fd0df28e520fa45b2d61cf1d1905a2a299c3589",
        "head_changeset": "8908e21401dea7ede598bed8d7b70df6808b842c",
        "phabricator_id": 253265,
        "phabricator_phid": "PHID-DREV-ztxargbp6m67favlc5vq",
        "title": "Bug 1971060 - Make an interface that VirtualFolderWrapper implements. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1971060,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478074/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478074/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253265"
    },
    "phid": "PHID-DIFF-uwxivvwpgmu2nrs6ydx3",
    "review_task_id": "IQrgykCQRUixWEq1dLboLA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "30b31bdfd02af53599b6f2bd47bcbd6294a54d7f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057300/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T03:13:08.448297Z"
}