List and retrieve diffs with detailed revision information

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

{
    "id": 1055345,
    "revision": {
        "id": 477908,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f18758b0f10610b3d37eac02a3a77cbffaa44158",
        "head_changeset": "7d4e31587f9bc85591c75f2c8cccf897eaf62928",
        "phabricator_id": 253069,
        "phabricator_phid": "PHID-DREV-4jt4wdt6tppvd6ukkkwt",
        "title": "Bug 1970492 - Allow additional prefs to be configured via policy. r?tjr",
        "bugzilla_id": 1970492,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477908/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477908/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253069"
    },
    "phid": "PHID-DIFF-ppkqz56g6oeqh3vhh33o",
    "review_task_id": "MVw2bdWYTL-QWJy1PnRSSQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7d4e31587f9bc85591c75f2c8cccf897eaf62928",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055345/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T19:28:19.332337Z"
}