List and retrieve diffs with detailed revision information

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

{
    "id": 1052727,
    "revision": {
        "id": 382345,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f5721e50bf4c0a2efc30a1948db4f620fac43d08",
        "head_changeset": "a365a8c2a001a248f6fbc4d0475e8214c3218073",
        "phabricator_id": 226753,
        "phabricator_phid": "PHID-DREV-lizei7qh7ublzwv6k5cz",
        "title": "Bug 1913666 - Part 6: Frontend additions to make them work with new arch r=sefeng!",
        "bugzilla_id": 1913666,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/382345/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/382345/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D226753"
    },
    "phid": "PHID-DIFF-m7ify6hyosiynl6mqulf",
    "review_task_id": "FPJ7gkufQ56eun-OKDtvKw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "33b9e743a5a48f71d32c4ca01b4e766f960a5d35",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052727/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T14:48:39.183403Z"
}