List and retrieve diffs with detailed revision information

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

{
    "id": 1108353,
    "revision": {
        "id": 515828,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "46b830b8da634ea57c29d3bb51442f9e98960277",
        "head_changeset": "37bf1df920fc2cea87840b9bbeab9238234ea5a2",
        "phabricator_id": 261569,
        "phabricator_phid": "PHID-DREV-rif72deej4vrfr6ijpii",
        "title": "WIP: Bug 1983648 - Move the nimbus-gradle-plugin from app-services to to mozilla-firefox. r?nalexander",
        "bugzilla_id": 1983648,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515828/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515828/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261569"
    },
    "phid": "PHID-DIFF-45hwsmdzijv47u7tgozq",
    "review_task_id": "Dv0PazexRwmTMrqLkVHdFQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "37bf1df920fc2cea87840b9bbeab9238234ea5a2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108353/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T02:59:34.243062Z"
}