List and retrieve diffs with detailed revision information

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

{
    "id": 1072365,
    "revision": {
        "id": 483493,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d8e514f48d4498a59b02799530fb67b4a2b87ead",
        "head_changeset": "77406c16eafed8171ca25574ced1d74ac851d1c9",
        "phabricator_id": 254562,
        "phabricator_phid": "PHID-DREV-tpnujyj265hmg26xag35",
        "title": "Bug 1973310 - Remove the Synced Tabs CFR from the homepage",
        "bugzilla_id": 1973310,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483493/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483493/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254562"
    },
    "phid": "PHID-DIFF-dfw5m6xgjpxr4l7lgewn",
    "review_task_id": "JtfM3W0fTViDXhCmNHx2hA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3a92b5f7dab355b7ea4eee988a740c8d9e52ef42",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072365/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T16:57:20.954023Z"
}