List and retrieve diffs with detailed revision information

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

{
    "id": 1099792,
    "revision": {
        "id": 494188,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ea71e4560e0dfca2e5505ad727f2e9a840e6e86b",
        "head_changeset": "e8f0ccfe429dd7b53d89c83f9d44ebc2f214ac84",
        "phabricator_id": 257036,
        "phabricator_phid": "PHID-DREV-3har76lkemutkndpk6cb",
        "title": "WIP: Bug 1740508 - Implement runtime.requestUpdateCheck() method",
        "bugzilla_id": 1740508,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494188/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494188/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257036"
    },
    "phid": "PHID-DIFF-bznj6xbro336qg25ohl3",
    "review_task_id": "XgxLNBMzTwiK3sSVFPb0cg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ec733545edfa139105c8c16ccc8973b1f96e97d2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099792/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T18:42:17.494819Z"
}