List and retrieve diffs with detailed revision information

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

{
    "id": 1099844,
    "revision": {
        "id": 500132,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "23a6a706ffa9905f9950c221e839222a841afe70",
        "head_changeset": "bac7348e8e2f2116fee1dc35bb616b4720696f65",
        "phabricator_id": 258433,
        "phabricator_phid": "PHID-DREV-4eejih2ainntp67kihcp",
        "title": "WIP: Bug 1975221 - Update learn more and sign in urls for the IP Protection feature introduction callout - r=aminomancer,#ip-protection-reviewers",
        "bugzilla_id": 1975221,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/500132/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/500132/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258433"
    },
    "phid": "PHID-DIFF-rvrzdgaybl5qypbwsgfs",
    "review_task_id": "KwhWk1RoS0mUB8cFB0r3Nw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d62206fe82a4733d45cf3a12683503eca9ac72bc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099844/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T21:27:09.288109Z"
}