List and retrieve diffs with detailed revision information

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

{
    "id": 1087865,
    "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-vzfkw7mzocejkpaqzoio",
    "review_task_id": "ZEQ6U1ScRuSkmYAX_YjilA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "09ecaf95743a40974d0dd1ef44b433803aaf3434",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087865/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T09:23:47.518131Z"
}