List and retrieve diffs with detailed revision information

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

{
    "id": 1114417,
    "revision": {
        "id": 520984,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "bfaededc7618f90e13fcf6e97897a2788af4dc7c",
        "head_changeset": "27b869dbf7d4efaddaad7e049948883369c7727d",
        "phabricator_id": 262561,
        "phabricator_phid": "PHID-DREV-wbkcpypnvdbzsn24bghc",
        "title": "Bug 1984688 - Import external textures directly into wgpu from Mac IOSurfaces. r?#webgpu-reviewers",
        "bugzilla_id": 1984688,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520984/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520984/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262561"
    },
    "phid": "PHID-DIFF-osxb2temrjpw6dxluj2h",
    "review_task_id": "OZ9GTh70Q_mPB48yznTtSw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bdb25d80193144543268846a916f8cbe9fc63837",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1114417/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-29T17:04:01.505980Z"
}