List and retrieve diffs with detailed revision information

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

{
    "id": 1065571,
    "revision": {
        "id": 481724,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e90cabd89e2ae4d081a6884825c017692979f2a6",
        "head_changeset": "4ce6c33242ffafca685afca35cd0fbdade4dc0de",
        "phabricator_id": 254268,
        "phabricator_phid": "PHID-DREV-5ozkjyz5ybtjo5ygpitd",
        "title": "Bug 1972848 - Import empty changes for nimbus-secure-experiments collection in test/browser/head.js r?#nimbus-reviewers",
        "bugzilla_id": 1972848,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481724/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481724/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254268"
    },
    "phid": "PHID-DIFF-fprzaphrpdufxwrlrab4",
    "review_task_id": "FrfTzEkTSQCtDE7er0ohvA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "924b91dc138fa763698e68b1ae4fea10b0a49ffb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065571/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T21:40:17.295790Z"
}