List and retrieve diffs with detailed revision information

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

{
    "id": 1049557,
    "revision": {
        "id": 476824,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "bff43f87e2503719cc95b58a572066459c88ebfe",
        "head_changeset": "ad050085c9bf4ce585f9703c51d052b29d465114",
        "phabricator_id": 251772,
        "phabricator_phid": "PHID-DREV-wnpgdrqyf6qq5yeeomfq",
        "title": "Bug 1968963 - Temporary failsafe for unpredictable XULStore migration of list view option in the release channel. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1968963,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476824/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476824/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251772"
    },
    "phid": "PHID-DIFF-5jajjk7iv4zlyiwlajxp",
    "review_task_id": "A453Qcm9QYSKwros3EF5Mw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "ad050085c9bf4ce585f9703c51d052b29d465114",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049557/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T21:03:04.506013Z"
}