List and retrieve diffs with detailed revision information

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

{
    "id": 1059526,
    "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-ek23koe42blsj7t3ktyf",
    "review_task_id": "Fg5CWAbFQpm2BIELyZ0Rtw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c6ec257d4f6ed4d7d8cab46de322fecf2d688f45",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059526/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T18:27:07.451496Z"
}