List and retrieve diffs with detailed revision information

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

{
    "id": 1076470,
    "revision": {
        "id": 477962,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6a74d418a15cb8f17a189c4f85524c15fb7d0115",
        "head_changeset": "059aedb8bfabbe838882b10275968fd759d57998",
        "phabricator_id": 253129,
        "phabricator_phid": "PHID-DREV-sn56ppjuxxkhgd6g27wy",
        "title": "Bug 1921087 - removed prwin.h and remaining references. r=emk",
        "bugzilla_id": 1921087,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477962/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477962/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253129"
    },
    "phid": "PHID-DIFF-l3yykdhgv2s53i4rqkbo",
    "review_task_id": "H3On1PJHSY-qJnRlujSKTQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9887590911d13b763099916ba30d3ebf56b119a1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076470/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T08:56:57.419630Z"
}