List and retrieve diffs with detailed revision information

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

{
    "id": 1087902,
    "revision": {
        "id": 496866,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "191453bc93922acd8fea9c375b16cc7248fd3765",
        "head_changeset": "fbcf99b303a5abe88bb24e05d4206dc7c34ecb89",
        "phabricator_id": 257669,
        "phabricator_phid": "PHID-DREV-tlcabjjqe2bjgcz6sutt",
        "title": "Bug 1977789 - Force inputs in account hub to properly scale at max font size. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1977789,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496866/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496866/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257669"
    },
    "phid": "PHID-DIFF-oecajrho4cgtswidvle6",
    "review_task_id": "CpN0P4c1SQGB9IGmDa-oVw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "fbcf99b303a5abe88bb24e05d4206dc7c34ecb89",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087902/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T10:21:56.089730Z"
}