List and retrieve diffs with detailed revision information

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

{
    "id": 1048598,
    "revision": {
        "id": 457086,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "2ba2ad63211608cf4ee6cca58ca83d145205b18f",
        "phabricator_id": 238873,
        "phabricator_phid": "PHID-DREV-ujfclhmyge3vuhr32elk",
        "title": "WIP: Bug 1927886: Thread assertions and documentation.",
        "bugzilla_id": 1927886,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/457086/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/457086/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238873"
    },
    "phid": "PHID-DIFF-m7tdomkprfjuxxgamwky",
    "review_task_id": "PwlzGgeKRwS4hoJYwOnlhA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2a800c220456624a274aede30a8b0fa2028e686d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048598/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T18:56:38.100174Z"
}