List and retrieve diffs with detailed revision information

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

{
    "id": 1087791,
    "revision": {
        "id": 496710,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2817cf330783b8d0464c4b34ef21c27e14a94e84",
        "head_changeset": "dd5f9e38dd043c2e45fc7a98083fa8a6d7bc7107",
        "phabricator_id": 257635,
        "phabricator_phid": "PHID-DREV-xq3tujczvmudoznpeas7",
        "title": "Bug 1976783 - Clean out some more uses of XPCOM to get named Mailnews components. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1976783,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496710/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496710/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257635"
    },
    "phid": "PHID-DIFF-odylnnumpbsp5jz5rs6x",
    "review_task_id": "ZliPFyNXQ6ixbK8Ja3KCsA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "dd5f9e38dd043c2e45fc7a98083fa8a6d7bc7107",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087791/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T05:17:20.372177Z"
}