List and retrieve diffs with detailed revision information

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

{
    "id": 1029858,
    "revision": {
        "id": 474499,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5ee17d317cf3d05765a5b44c4ed1d8b071e688a2",
        "head_changeset": "0a45d4b94473b01aa16c108f5d04ea08e35cfccc",
        "phabricator_id": 175110,
        "phabricator_phid": "PHID-DREV-ecr556o4mk4kigyyhn2s",
        "title": "Bug 1822495 - DoH: Check loopback addresses for global canary heuristic r=kershaw",
        "bugzilla_id": 1822495,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474499/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474499/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D175110"
    },
    "phid": "PHID-DIFF-ocjrubghezfhbb5xmy4c",
    "review_task_id": "TlkvprYcQOyYrFWxn7wjhw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0a45d4b94473b01aa16c108f5d04ea08e35cfccc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1029858/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-08T17:59:08.305197Z"
}