List and retrieve diffs with detailed revision information

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

{
    "id": 1088338,
    "revision": {
        "id": 496859,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a9d3edafe1c8125fe36e3dbd64d3e015a783f274",
        "head_changeset": "52e5aab67242ea379ff910f5381c65926d854291",
        "phabricator_id": 257664,
        "phabricator_phid": "PHID-DREV-mhev7euiz547yuh6gqru",
        "title": "Bug 1977669 - Scrolled button frames should still be centered and baseline aligned to the content box. r=#layout",
        "bugzilla_id": 1977669,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496859/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496859/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257664"
    },
    "phid": "PHID-DIFF-tfwgw33ymv5b4nn3ftgs",
    "review_task_id": "AmyqMN_vTeypXXt2F1nu1w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "53208c6b42b34c6e1fff6cf0e40810bc04a7a0b1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088338/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T19:54:20.811408Z"
}