List and retrieve diffs with detailed revision information

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

{
    "id": 1095258,
    "revision": {
        "id": 498860,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7c0f2ae3e229cebe6e59fd030c98b6b283edbe08",
        "head_changeset": "21ca350bb762d01bec93d4d474c1e52fb001e9a8",
        "phabricator_id": 258123,
        "phabricator_phid": "PHID-DREV-l72xpjbu44fs3qj7exhf",
        "title": "Bug 1917974: Accumulate Dictionary hash values r=#necko-reviewers!",
        "bugzilla_id": 1917974,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/498860/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/498860/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258123"
    },
    "phid": "PHID-DIFF-dco32cd46ynbe2pevxwy",
    "review_task_id": "UnWS56hUQH-jOw9aazD5Ow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ec3b46e564e4febd7bfef9edf257c999f0c3dee4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095258/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-24T15:57:39.334576Z"
}