List and retrieve diffs with detailed revision information

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

{
    "id": 1051237,
    "revision": {
        "id": 450260,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d5ed6c63e9083edcb16e118ce7fe484c61d4d71f",
        "head_changeset": "3acef60e1a0bd3d5ee0f4089e2b09cb1c9410530",
        "phabricator_id": 209827,
        "phabricator_phid": "PHID-DREV-6zzqilp42fnuwu5lyjso",
        "title": "WIP: Bug 1095073 - Part 1: Add nsIAlertsService.GetHistory",
        "bugzilla_id": 1095073,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/450260/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/450260/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D209827"
    },
    "phid": "PHID-DIFF-7v3o5lzl532hfn3g47bs",
    "review_task_id": "cdQcT4TVRvWGjwsUxuh68w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ad5113f00817cc01fb77bbc7a480f8b2bd092952",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051237/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T17:55:30.133105Z"
}