List and retrieve diffs with detailed revision information

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

{
    "id": 1073962,
    "revision": {
        "id": 486143,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "401e3ba8e6008f122cfa6b8cb392685525a44b03",
        "head_changeset": "1e5e8b27a7d802aa3125ef2e6209976f9b29fc06",
        "phabricator_id": 255237,
        "phabricator_phid": "PHID-DREV-mbxmnznkbz4k5faxxeje",
        "title": "Bug 1974354 - Remove quotes around version based glean expiration in Firefox Source Docs. r=chutten",
        "bugzilla_id": 1974354,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486143/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486143/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255237"
    },
    "phid": "PHID-DIFF-otf2rydsvx7vk5kbhvhq",
    "review_task_id": "J35Tz4ZTQju8GAPU-4Y5xQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1e5e8b27a7d802aa3125ef2e6209976f9b29fc06",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073962/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T01:24:35.204915Z"
}