List and retrieve diffs with detailed revision information

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

{
    "id": 1059447,
    "revision": {
        "id": 478768,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d81e04d73b47470570574350b3908be206f2a02e",
        "head_changeset": "da3ad742aae1bf469f8294b30106ea9f37e7a6e8",
        "phabricator_id": 253724,
        "phabricator_phid": "PHID-DREV-tueqsz3ikjjj2rnltjqu",
        "title": "Bug 1972085 - Update about:preference#home pref logic to show/hide Trending Searches and update how trendingSearch.defaultSearchEngine pref is set r?#home-newtab-reviewers",
        "bugzilla_id": 1972085,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478768/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478768/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253724"
    },
    "phid": "PHID-DIFF-jybuvskc4m6onppcoqpx",
    "review_task_id": "ZvMLUWEwQbao4g-00I9-uA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c1f0c9f640c8bd950583f9c829113db798d1d46e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059447/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T16:36:39.515828Z"
}