List and retrieve diffs with detailed revision information

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

{
    "id": 1052037,
    "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-onctaf5rsunl656jzced",
    "review_task_id": "EFxqE37lRkWotgEJJQpL1w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "811191b10d42e4b2d01b21b28e6fd2e5f3e2efc6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052037/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T17:32:32.610854Z"
}