List and retrieve diffs with detailed revision information

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

{
    "id": 1101086,
    "revision": {
        "id": 490311,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "beffe8f9434dad9e0eab5e6f053011568202e4c5",
        "head_changeset": "58431afd8583d003511b4ec01931a497809bed58",
        "phabricator_id": 255140,
        "phabricator_phid": "PHID-DREV-hstjs5tyerq3vyu5oqtp",
        "title": "Bug 1950545 - Part 4: Add a YAML based event definition system for gecko-trace r=jari",
        "bugzilla_id": 1950545,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490311/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490311/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255140"
    },
    "phid": "PHID-DIFF-3dpp3hohicttlxg4yetu",
    "review_task_id": "A0skwP3TSmOeTVr29u_Lzw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "abb28386b599e04e246113fd3c34fd30928b7f34",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101086/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-05T16:49:22.701958Z"
}