List and retrieve diffs with detailed revision information

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

{
    "id": 1105075,
    "revision": {
        "id": 510976,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "507b9d6bb01619c22c9324e29d9904c195b4cfe6",
        "head_changeset": "02ffabd21d79d6cc79052912bb8ba59097b00d19",
        "phabricator_id": 260753,
        "phabricator_phid": "PHID-DREV-qyvj6migvxg4hubdxzan",
        "title": "WIP: Bug 1982073 - Adding secret debug settings to help test terms of use",
        "bugzilla_id": 1982073,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510976/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510976/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260753"
    },
    "phid": "PHID-DIFF-3befrbgkh6biboumwuvi",
    "review_task_id": "AqRxdKHgS9WWXfxaGSM8NQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "64c4b508842b6e6404686380cdcd66933e5ef15b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105075/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T22:53:22.251285Z"
}