List and retrieve diffs with detailed revision information

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

{
    "id": 1048773,
    "revision": {
        "id": 476498,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "bc4f7219b7a570f377dfe101b4f346e1f80b7bc8",
        "head_changeset": "9c3cda381a563b81b0f9e002edcd13dcd614dfec",
        "phabricator_id": 251440,
        "phabricator_phid": "PHID-DREV-fkl7fs6rag7vgwlnzdfo",
        "title": "Bug 1942533 - Add getAdsPlacements functions to AdsFeed r?#home-newtab-reviewers",
        "bugzilla_id": 1942533,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476498/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476498/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251440"
    },
    "phid": "PHID-DIFF-gu4rfbaetpcoqbtsuwmu",
    "review_task_id": "bDOk0XYeTOqtlvcbTTUaQg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "11bfae21f2fa52793e0bdc48df51903b3b3cf286",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048773/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T21:49:18.185315Z"
}