List and retrieve diffs with detailed revision information

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

{
    "id": 1078908,
    "revision": {
        "id": 488621,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8dce7fb0a03c652498317938af58ed33252401c7",
        "head_changeset": "be9e2e2b879e824cb0b027d55d0f77a060fd9f66",
        "phabricator_id": 255565,
        "phabricator_phid": "PHID-DREV-ve2dtsos32wor2w4rame",
        "title": "WIP: Bug 1973228 - Fallback to bundled NewTab resources if builtin add-on version is equal or greater than XPI version already installed.",
        "bugzilla_id": 1973228,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488621/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488621/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255565"
    },
    "phid": "PHID-DIFF-xoamehf5wksfimdz5dmr",
    "review_task_id": "cgRG420jT0C322lhgR4SMg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "589c1631f6c8d7057e14a2c647cc7ae2058e4d7b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078908/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T17:53:14.399556Z"
}