List and retrieve diffs with detailed revision information

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

{
    "id": 1077356,
    "revision": {
        "id": 490011,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "388cea8d4e512e6cc4f289d8cb4e4fa725aaad08",
        "head_changeset": "14438b0894978cc0f600a608f3355738c4b0eb40",
        "phabricator_id": 255811,
        "phabricator_phid": "PHID-DREV-6b6waz6x7wvrqibkncvy",
        "title": "Bug 1975426 - Revert \"Bug 1970664 - Drag a tab to the last index of the same container when scrollable\" r=pascalc",
        "bugzilla_id": 1975426,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490011/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490011/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255811"
    },
    "phid": "PHID-DIFF-q23xtpzoijfrwnmrzo6d",
    "review_task_id": "Xk_RvaPNSaeirV_2cA_mXA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "14438b0894978cc0f600a608f3355738c4b0eb40",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077356/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T12:59:41.763036Z"
}