List and retrieve diffs with detailed revision information

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

{
    "id": 1053312,
    "revision": {
        "id": 477534,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7cd053439a28afaf08c66b1864a91de8686b242b",
        "head_changeset": "a0c4fd933c85ece2407524a01701c79296b874b8",
        "phabricator_id": 252523,
        "phabricator_phid": "PHID-DREV-opm5kw6jgy5gdcymgwll",
        "title": "Bug 1970391 - Re-enable verifyTheDiscoverMoreExtensionSubMenuItemTest, verifySwitchToDesktopSiteIsDisabledOnPDFsTest and verifyRecommendedExtensionsListTest UI tests",
        "bugzilla_id": 1970391,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477534/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477534/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252523"
    },
    "phid": "PHID-DIFF-sj4mmma2oru4dla7cvjk",
    "review_task_id": "KBT_25wdTQq75W-DeHzGRg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a0c4fd933c85ece2407524a01701c79296b874b8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053312/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T07:06:05.832135Z"
}