List and retrieve diffs with detailed revision information

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

{
    "id": 1039333,
    "revision": {
        "id": 475803,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ec102db04d4590f2fa6fcb618e7556ee93163924",
        "head_changeset": "18b60e49835d91d6475909df2c8ee311eff3e1d7",
        "phabricator_id": 250364,
        "phabricator_phid": "PHID-DREV-l2jucaginfdonenwedqs",
        "title": "Bug 1864904 - WebGPU: Raise TypeError on unsupported canvas format r=#webgpu-reviewers!",
        "bugzilla_id": 1864904,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475803/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475803/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250364"
    },
    "phid": "PHID-DIFF-jm2qrbypp367z67yppsq",
    "review_task_id": "I3c8D17TT5-vIaiydDXXpA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "18b60e49835d91d6475909df2c8ee311eff3e1d7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039333/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T00:30:09.540419Z"
}