List and retrieve diffs with detailed revision information

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

{
    "id": 1097345,
    "revision": {
        "id": 500989,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d423af8f07782c8b6ba3dc7d5fdfa7b334db1d53",
        "head_changeset": "273168d6a480e4672a0bb8aa351a2ea95d614427",
        "phabricator_id": 258647,
        "phabricator_phid": "PHID-DREV-ez6wwoo7opbzhwrtxrbs",
        "title": "WIP: Bug 1977100 - [devtools] Fix fetching for iframe HTML page source content.",
        "bugzilla_id": 1977100,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/500989/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/500989/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258647"
    },
    "phid": "PHID-DIFF-772xyugssloocxli3f2t",
    "review_task_id": "eULRBUZ4QGK_1CcGL7svGg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f801f0f6913b2c72606e858f81ac9fb6e1caa00d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1097345/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-29T12:56:45.781203Z"
}