List and retrieve diffs with detailed revision information

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

{
    "id": 1066092,
    "revision": {
        "id": 482413,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "fce907859dea303c77e6ac30b0afc89c62b7f3e3",
        "head_changeset": "e3ec20f27cf33d004aa61d40032be926ffa0cbf2",
        "phabricator_id": 254403,
        "phabricator_phid": "PHID-DREV-tc5pb2op4bzqirphbbnz",
        "title": "Bug 1968470 - Remove 'Copy Message Location' from mail context menu. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1968470,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482413/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482413/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254403"
    },
    "phid": "PHID-DIFF-ri5zph7bqyr6w3qeypux",
    "review_task_id": "Mw419GbxSROuJSWXfqjLyw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "e3ec20f27cf33d004aa61d40032be926ffa0cbf2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066092/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T15:02:56.786655Z"
}