List and retrieve diffs with detailed revision information

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

{
    "id": 1082344,
    "revision": {
        "id": 486706,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16ecb9de093bdc813dd7e11b920a7f9138c9da1f",
        "head_changeset": "45578dc4fe30ac9514445239e9a6dedbaf26e0e6",
        "phabricator_id": 255304,
        "phabricator_phid": "PHID-DREV-emwpqtukh2luptt3qax3",
        "title": "Bug 1973033 - Part 8: Rename data structures that can now contain small as well as medium buffers r?sfink",
        "bugzilla_id": 1973033,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486706/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486706/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255304"
    },
    "phid": "PHID-DIFF-xhwwzuu5zgbolqkq52mx",
    "review_task_id": "L7dsD4VdQP2euWawHdfrGg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "913bac0eb1a683eb275559387a9df3b08bedc313",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1082344/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T13:30:02.529500Z"
}