List and retrieve diffs with detailed revision information

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

{
    "id": 1099847,
    "revision": {
        "id": 504849,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d34398f3889876cdcd3766561306d4e49e29ddf4",
        "head_changeset": "3d08082468a7464ee707dcf13218b50c0bb1ae17",
        "phabricator_id": 259483,
        "phabricator_phid": "PHID-DREV-phsbn3gm33iozrza2zeo",
        "title": "Revert \"Bug 1971371 - Part 2: refactor to remove duplicated code\"",
        "bugzilla_id": 1971371,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/504849/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/504849/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259483"
    },
    "phid": "PHID-DIFF-52xjfs4iti6obfgt36nm",
    "review_task_id": "TlmxsuQtS7Wrw0sG4L_ZJA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "dd19abfdf73d40befb64bb8de99e53949e05844e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099847/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T22:01:24.809084Z"
}