List and retrieve diffs with detailed revision information

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

{
    "id": 1072761,
    "revision": {
        "id": 485422,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e4b79466c0e2f1aedf9f9443ce9f64223d3c78bd",
        "head_changeset": "765ba70cc4071f834bb8869e23645e4a7ac35746",
        "phabricator_id": 253308,
        "phabricator_phid": "PHID-DREV-vhmpr5so2svll5jmpdll",
        "title": "Bug 1971073 - part 2 - Clicking toolbar with no search terms will open a new search with current URL r=#android-reviewers",
        "bugzilla_id": 1971073,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485422/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485422/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253308"
    },
    "phid": "PHID-DIFF-gd453a2yn55xjv7s6jm3",
    "review_task_id": "VukhxwUhS8irGtpu6T0dkQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5f8b48a81ede072703a21d695ffc4d8208d2b3a3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072761/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T21:47:46.868698Z"
}