List and retrieve diffs with detailed revision information

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

{
    "id": 1076019,
    "revision": {
        "id": 489011,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3ffb72674f0c408aadfc18619e034eca760d259f",
        "head_changeset": "3c9d0ee9188da6fb2ceefa3e069413d14c14f4b7",
        "phabricator_id": 255653,
        "phabricator_phid": "PHID-DREV-qqntwfnkqfxtldyonmef",
        "title": "Bug 1973916 - Update trending search nimbus feature and make request on pref change r=#home-newtab-reviewers",
        "bugzilla_id": 1973916,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489011/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489011/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255653"
    },
    "phid": "PHID-DIFF-v4j4v2msww73tvshvoep",
    "review_task_id": "Mez0s4aATmKAxHoQlVAakQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3c9d0ee9188da6fb2ceefa3e069413d14c14f4b7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076019/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T14:39:16.648022Z"
}