List and retrieve diffs with detailed revision information

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

{
    "id": 1078962,
    "revision": {
        "id": 491612,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f49b8ae6306b58ba91439295d3efe0994862df5c",
        "head_changeset": "8834223837168807c0b354da644f0edc0efbee7b",
        "phabricator_id": 256333,
        "phabricator_phid": "PHID-DREV-4pmd4gj7oj7cozwhpphj",
        "title": "Bug 1960743 - Remade the changes in css-style sheet instead, also added code nicholas gave, and changes its indents so that if the url is too big it will still have an indent. r=nchevobbe",
        "bugzilla_id": 1960743,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491612/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491612/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256333"
    },
    "phid": "PHID-DIFF-ychydiqcmv7mm4ugkxm6",
    "review_task_id": "KRfZlC5SS92ggbnNgApQlg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8834223837168807c0b354da644f0edc0efbee7b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078962/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T19:01:51.379792Z"
}