List and retrieve diffs with detailed revision information

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

{
    "id": 1088199,
    "revision": {
        "id": 497166,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "191453bc93922acd8fea9c375b16cc7248fd3765",
        "head_changeset": "2f53686c04ef321794836d6417a18ccbc29986ac",
        "phabricator_id": 257729,
        "phabricator_phid": "PHID-DREV-em4czxtq3bgjsy3pbthx",
        "title": "Bug 1977860 - Don't move folders out of the way when reordering if there is a sufficient gap. r=#thunderbird-reviewers",
        "bugzilla_id": 1977860,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497166/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497166/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257729"
    },
    "phid": "PHID-DIFF-bgq3uwdsmtpvffrgw5ya",
    "review_task_id": "JHVxbXf2QTKDBDld5rSEDw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "2f53686c04ef321794836d6417a18ccbc29986ac",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088199/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T15:59:55.306840Z"
}