List and retrieve diffs with detailed revision information

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

{
    "id": 1107453,
    "revision": {
        "id": 513681,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8af6c84c7272ba8a45b8bca7db2d35082a39cc8d",
        "head_changeset": "14c7d8cfed051a008eb8d999e48923852fc63fbe",
        "phabricator_id": 261217,
        "phabricator_phid": "PHID-DREV-zotv7b7v7iaxexbgrbtj",
        "title": "WIP: Bug 1978987 - Extend new mail notification test to EWS.",
        "bugzilla_id": 1978987,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513681/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513681/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261217"
    },
    "phid": "PHID-DIFF-hh5jfvgbo7qura5f5vkx",
    "review_task_id": "bnAsGj57REajmIIuUbEf8Q",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "e7fb75892f5187c3e13c8eb5bccaf1d719789c0f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107453/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T00:02:36.490800Z"
}