List and retrieve diffs with detailed revision information

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

{
    "id": 1088147,
    "revision": {
        "id": 497134,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6401b45b63b8303c53a0fa9598da978eb4234536",
        "head_changeset": "cabe9b8cd11415b18ada907de93b744e84e0d2a7",
        "phabricator_id": 257712,
        "phabricator_phid": "PHID-DREV-4npzh3ef4ywayb5eqqca",
        "title": "WIP: Bug 1977838 - Use std::extent_v instead of std::size so that an empty PayloadFields array doesn't cause compile errors. r=bas",
        "bugzilla_id": 1977838,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497134/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497134/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257712"
    },
    "phid": "PHID-DIFF-z4laf4eklqmdwgty3mdk",
    "review_task_id": "T6GoNVGjQlebEY55xwsaxQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cabe9b8cd11415b18ada907de93b744e84e0d2a7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088147/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T15:20:21.215234Z"
}