List and retrieve diffs with detailed revision information

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

{
    "id": 1097567,
    "revision": {
        "id": 474206,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "46f462787c89c3b8ffca85f3b56fb232f516ace5",
        "head_changeset": "718c0b2161111cdaa93b58f186c0e9c558cc3ecc",
        "phabricator_id": 247669,
        "phabricator_phid": "PHID-DREV-5vad4lbt33do3uci2k5p",
        "title": "WIP: Bug 1889757 Part 2: Define the NativeLayerRemoteMac parent and child to send layers from gpu to parent.",
        "bugzilla_id": 1889757,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474206/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474206/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247669"
    },
    "phid": "PHID-DIFF-s6z3qtrybwjeh3oh6plg",
    "review_task_id": "e2xoHaJiS4OEg2Ls2dvKFg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6144afb556e811d58043c56d94bcc714e4311ea2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1097567/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-29T17:34:31.420858Z"
}