List and retrieve diffs with detailed revision information

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

{
    "id": 1055506,
    "revision": {
        "id": 477938,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6e14a91c081245a78836d9099fb87d9a563e9cc8",
        "head_changeset": "a504b4cfefe8b31b3514e846bb80f4562e9a7cec",
        "phabricator_id": 253105,
        "phabricator_phid": "PHID-DREV-4yn4kc5tqay6us7ynt67",
        "title": "Bug 1912371 - Use nsLayoutUtils::IsSmoothScrollingEnabled rather than directly using general_smoothScroll(). r?stransky,emilio",
        "bugzilla_id": 1912371,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477938/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477938/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253105"
    },
    "phid": "PHID-DIFF-negjniskcmoerynjnatt",
    "review_task_id": "Jn-0qQr0Sg6pNT4G5P8u0Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a504b4cfefe8b31b3514e846bb80f4562e9a7cec",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055506/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T23:05:47.143687Z"
}