List and retrieve diffs with detailed revision information

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

{
    "id": 1097177,
    "revision": {
        "id": 477520,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5088dadcae15d7852ac11730a386af7dcf93d958",
        "head_changeset": "15162ee469b1513e8ba7353b3441c99ba2ae6b0f",
        "phabricator_id": 251183,
        "phabricator_phid": "PHID-DREV-xtboh5d3ybttp264fl6p",
        "title": "WIP: Bug 1889757 Part 6: Pass messages from NativeLayerRemoteMacChild to NativeLayerRemoteMacParent.",
        "bugzilla_id": 1889757,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477520/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477520/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251183"
    },
    "phid": "PHID-DIFF-mvxoer6lkmupftlfdygu",
    "review_task_id": "W3uUxavCTq2r12mdonwHJQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "78b746b358efe19c7fc036f00297813d332cf8bc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1097177/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-29T04:17:02.467489Z"
}