List and retrieve diffs with detailed revision information

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

{
    "id": 1066737,
    "revision": {
        "id": 483444,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "42f3095b4fe8acbad24b91acb677b5291cffc7f7",
        "head_changeset": "74f19f28626494dbb3b04b1c3b52851a2aedc75b",
        "phabricator_id": 254532,
        "phabricator_phid": "PHID-DREV-f2zl6ct3qlg33co72nkc",
        "title": "Bug 1969973 - Part 1: Add Profiler object and ProfilerSink API r=kaya,sfamisa",
        "bugzilla_id": 1969973,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483444/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483444/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254532"
    },
    "phid": "PHID-DIFF-mp5f5ysitex3amexuvva",
    "review_task_id": "ZdwMZQCkSiSDLSLGhGCIsQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "74f19f28626494dbb3b04b1c3b52851a2aedc75b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066737/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T18:13:40.133323Z"
}