List and retrieve diffs with detailed revision information

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

{
    "id": 1050180,
    "revision": {
        "id": 476940,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a2e2399f4064e58d33664d664310d8c12b7d10a2",
        "head_changeset": "4e70b32c9799a7e5eee52fffd645ca8f68210de4",
        "phabricator_id": 251945,
        "phabricator_phid": "PHID-DREV-sspaio54rdfaphy77tdu",
        "title": "WIP: Bug 1969479 - Update crashreporter symbol artifact for simpleperf tasks. r=#perftest-reviewers,kshampur",
        "bugzilla_id": 1969479,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476940/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476940/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251945"
    },
    "phid": "PHID-DIFF-oz2amqzqc3baj3y4qmmg",
    "review_task_id": "AlZG-bRbSVqR5rB-2aCa2g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4e70b32c9799a7e5eee52fffd645ca8f68210de4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050180/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T20:10:27.301361Z"
}