List and retrieve diffs with detailed revision information

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

{
    "id": 1087512,
    "revision": {
        "id": 489109,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "92ff9ba926f0f5dd7d3ac01f7f8cf27b39c6ed7d",
        "head_changeset": "ff27f9a2ab6fc228f1b0208f7f3a14d15d68ce63",
        "phabricator_id": 255356,
        "phabricator_phid": "PHID-DREV-hg3xrpe47ctkxpblnae5",
        "title": "WIP: Bug 1972117 - Part 2: Remove origin field if empty r=asuth",
        "bugzilla_id": 1972117,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489109/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489109/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255356"
    },
    "phid": "PHID-DIFF-hd6gfcjjie2lh3wdr32t",
    "review_task_id": "M_7wnZ-RT9Cavrv295esBg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b38afe76ff1d07823f263f26c62b1dd40651c3cb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087512/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T20:18:20.641364Z"
}