List and retrieve diffs with detailed revision information

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

{
    "id": 1097489,
    "revision": {
        "id": 482743,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fabdf41debc901cb3a68de778f9d9bf40e96b04b",
        "head_changeset": "0a095ed3ca783b2473f82e2f8e7f3cc79bf84ca3",
        "phabricator_id": 254455,
        "phabricator_phid": "PHID-DREV-boj4ehne5e4j6kpcblju",
        "title": "Bug 1970116 - upload profiles of xpcshell test timeouts, r=ahal.",
        "bugzilla_id": 1970116,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482743/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482743/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254455"
    },
    "phid": "PHID-DIFF-f6omcuymhatkstxhcfyg",
    "review_task_id": "OGJx8GL7Qn6ckgsI0_yOng",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "620b68ed719533897714b68990cecd97750a836a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1097489/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-29T15:50:19.120005Z"
}