List and retrieve diffs with detailed revision information

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

{
    "id": 1064404,
    "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-o5izmssrabwwemgtitsm",
    "review_task_id": "K33sDq6GQGCvpZLe20k3rA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8fde9a343a5e415649050a23837be8897a2a1676",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064404/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T19:13:41.223951Z"
}