List and retrieve diffs with detailed revision information

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

{
    "id": 1048885,
    "revision": {
        "id": 476717,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "44f23d0542735a05db8818ec7f1e93f5504177cf",
        "head_changeset": "53af2e3f5b2cf08b3fcf01e59464c1f23cdf9688",
        "phabricator_id": 251671,
        "phabricator_phid": "PHID-DREV-sovh3qbhyrf3lqfn3zvd",
        "title": "Bug 1969162 - Remove Pocket-related code from Recent Activity on New Tab r=#home-newtab-reviewers",
        "bugzilla_id": 1969162,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476717/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476717/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251671"
    },
    "phid": "PHID-DIFF-3du3xvq7cqfkwv3bdw6g",
    "review_task_id": "VZSLwwf9QxWHA9H0SxVZpA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "53af2e3f5b2cf08b3fcf01e59464c1f23cdf9688",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048885/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T02:47:57.610355Z"
}