List and retrieve diffs with detailed revision information

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

{
    "id": 1039337,
    "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-diyjfu2egb7crqmiszxn",
    "review_task_id": "WPLtralsQiCanoEpzo-qWw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2b71ff52f7a310403248397af2f69a9bdeed603a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039337/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T00:38:49.832418Z"
}