List and retrieve diffs with detailed revision information

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

{
    "id": 1065255,
    "revision": {
        "id": 477480,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "765d3f515c66fdce00fd79a42cf926d3b0b5dee4",
        "head_changeset": "28538eee898c0c35c6ff4426fa84004880968892",
        "phabricator_id": 252573,
        "phabricator_phid": "PHID-DREV-z34sl3ndmzanbaqzh7ww",
        "title": "Bug 1963385 part 4 - refactor telemetry tests to avoid starting agent so much r=#dlp-reviewers!",
        "bugzilla_id": 1963385,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477480/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477480/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252573"
    },
    "phid": "PHID-DIFF-mofkmlapyh3rhgtlhwhm",
    "review_task_id": "arz7BjnLQnO2Yl8jTzPdIQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cbc3b8a684e5f5ef2b3c59d9bfb5d1d55426e236",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065255/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T16:38:36.417077Z"
}