List and retrieve diffs with detailed revision information

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

{
    "id": 1088969,
    "revision": {
        "id": 498182,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "65df572dfb32c14493e6d5fe666d109e18711f55",
        "head_changeset": "ed46b7fac0a46e2e2a730b3903efc4280e14fbfd",
        "phabricator_id": 257903,
        "phabricator_phid": "PHID-DREV-te3dfvx4zapxo6djyz4f",
        "title": "WIP: Bug 1978161 - Extend data-is-sponsored-link to work with all sponsored content types in newtab. r?daisuke!",
        "bugzilla_id": 1978161,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/498182/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/498182/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257903"
    },
    "phid": "PHID-DIFF-gydw76hwzhwsd6aexhbl",
    "review_task_id": "Wusv0P0yQXeh71Y_JX_H4g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ed46b7fac0a46e2e2a730b3903efc4280e14fbfd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088969/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T21:47:34.793141Z"
}