List and retrieve diffs with detailed revision information

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

{
    "id": 1048745,
    "revision": {
        "id": 476683,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "192ae1b1c127409a2c092c659cef79a0ef6c7ba3",
        "head_changeset": "3f9c291c702a1b6c3233ed67979ae317390cc586",
        "phabricator_id": 251629,
        "phabricator_phid": "PHID-DREV-r6nauxovdc6hlhh23q65",
        "title": "Bug 1969027 - Update wgpu to upstream f34dfd9 (2025-05-28) r=#webgpu-reviewers!",
        "bugzilla_id": 1969027,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476683/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476683/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251629"
    },
    "phid": "PHID-DIFF-qskvsyxfu55nterx5r3b",
    "review_task_id": "ByumIK6wQ6aqD2AdngCygQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9b99b83ccef78f16f9801d8162e6422c5abc75a5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048745/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T21:08:49.996068Z"
}