List and retrieve diffs with detailed revision information

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

{
    "id": 1057540,
    "revision": {
        "id": 477875,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f8682e8e02898ffecd788d84d910efa2e343104e",
        "head_changeset": "78aeb3973394d0d35ab3d3502b43854baec93877",
        "phabricator_id": 253026,
        "phabricator_phid": "PHID-DREV-xlu43kdky3asff65gr3r",
        "title": "WIP: Bug 1970739 - Part 1: Rename SplashScreenOperation.kt to be more explicit and decoupled from the splash screen implementation.",
        "bugzilla_id": 1970739,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477875/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477875/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253026"
    },
    "phid": "PHID-DIFF-stjwqaqr7annihgmypom",
    "review_task_id": "Pbnle_AvSA6VO-lD5Pts5Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0c417cc7393800f61a1906811af6c5188f136aed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057540/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T14:03:50.850627Z"
}