List and retrieve diffs with detailed revision information

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

{
    "id": 1081511,
    "revision": {
        "id": 493228,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2a8e3ba70f924b43c5d1ab7e00aef197e9e317e7",
        "head_changeset": "79462d26c13d3d1a66454cf39dc162a50b23608d",
        "phabricator_id": 256785,
        "phabricator_phid": "PHID-DREV-tqpkdexe7ui4flju52hh",
        "title": "Bug 1976341 - Part 2: Don't close the <select> dropdown when the <select> loses focus but focus remains within web content",
        "bugzilla_id": 1976341,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493228/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493228/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256785"
    },
    "phid": "PHID-DIFF-rl34q4kw32efpqrposnl",
    "review_task_id": "Zxszbmn1RbK2t_8NBpl7cQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ad6615b2322c42c36ea1ca90cb13a265fc507b82",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081511/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T13:18:48.761693Z"
}