List and retrieve diffs with detailed revision information

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

{
    "id": 1035993,
    "revision": {
        "id": 475451,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a412a20390c87ac0222f733d93d9f1483b996fe0",
        "head_changeset": "412a8f12046ed357c35d9a004c35c5708575fa12",
        "phabricator_id": 249895,
        "phabricator_phid": "PHID-DREV-4lplqz3ynqjrb52bc4ft",
        "title": "Bug 1967137 - Don't use native tabbox rendering on Linux. r=stransky,#theme",
        "bugzilla_id": 1967137,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475451/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475451/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249895"
    },
    "phid": "PHID-DIFF-m4v7ul2h7ufj5pcs53c2",
    "review_task_id": "eZJk6sjlRt6iqGmLTl1Q0w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "412a8f12046ed357c35d9a004c35c5708575fa12",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035993/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-18T14:55:52.338257Z"
}