List and retrieve diffs with detailed revision information

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

{
    "id": 1053246,
    "revision": {
        "id": 474532,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c0dd09f9bfb1cf8503e9856993cba4fe4f53a4a",
        "head_changeset": "f690da97201a8fceb65498e8ccc9ab4c1971f934",
        "phabricator_id": 248530,
        "phabricator_phid": "PHID-DREV-piy2zijnuc7yga7bjipe",
        "title": "Bug 1965330 - Add another variant of snapped scrolled content reftests involving text rendering. r?botond",
        "bugzilla_id": 1965330,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474532/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474532/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248530"
    },
    "phid": "PHID-DIFF-72yxcbzuefxp2ej3h6bc",
    "review_task_id": "V7yICvUPTdm3dFkTEdqijw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a31556a27f0100dc6e015c70bbdb5f9699e2c9aa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053246/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T00:38:41.229422Z"
}