List and retrieve diffs with detailed revision information

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

{
    "id": 1093410,
    "revision": {
        "id": 493910,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "15de255a09ee5b56b5b2e982316d15457f4aa671",
        "head_changeset": "cec0b285c4122ecd55d7cdfd1a826c93083d3bda",
        "phabricator_id": 256967,
        "phabricator_phid": "PHID-DREV-dt6qnc6slswhthsq7ssh",
        "title": "Bug 1976550 - Refresh the EWS client's credentials after an authentication failure. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1976550,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493910/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493910/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256967"
    },
    "phid": "PHID-DIFF-ylq6gxcgvdffjh4zvbzb",
    "review_task_id": "GfdBgmwcQYaa6zALoX0E8w",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "1bb3d1052004e6f681cf1244996be32c8b9d8def",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1093410/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-22T14:50:07.232381Z"
}