List and retrieve diffs with detailed revision information

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

{
    "id": 1066388,
    "revision": {
        "id": 477239,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "027c40354af5364f678fca29013e44b5556f11dc",
        "head_changeset": "7693ccdeb1a393327450cdd5812571330887ed8a",
        "phabricator_id": 252327,
        "phabricator_phid": "PHID-DREV-cp5kun5zyk5fqwdxyo4a",
        "title": "Bug 1970118 - Ensure tests pass when pushing to try with --env MOZ_PROFILER_STARTUP=1, r=canaltinova.",
        "bugzilla_id": 1970118,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477239/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477239/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252327"
    },
    "phid": "PHID-DIFF-k3p7qw3ey5y3gzklfzgm",
    "review_task_id": "KWp2Vsy0QZ67gueMBQEmFg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ae12f36fbf5bea12735901f162b6d02c02b7a031",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066388/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T21:36:40.228271Z"
}