List and retrieve diffs with detailed revision information

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

{
    "id": 1088026,
    "revision": {
        "id": 496818,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2817cf330783b8d0464c4b34ef21c27e14a94e84",
        "head_changeset": "09ecaf95743a40974d0dd1ef44b433803aaf3434",
        "phabricator_id": 257659,
        "phabricator_phid": "PHID-DREV-naxh7ercwci3twwfpjlv",
        "title": "Bug 1977699 - Don't try to find address books if we can't identify a hostname for the account. r=#thunderbird-reviewers",
        "bugzilla_id": 1977699,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496818/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496818/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257659"
    },
    "phid": "PHID-DIFF-prgaskyh5lnu63xxjpsn",
    "review_task_id": "UqoG6WCSSqqivXzg06-H2g",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "f8f6dbadea253563c40d4a95fbf7bd8e9098e1e8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088026/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T12:52:11.424867Z"
}