List and retrieve diffs with detailed revision information

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

{
    "id": 1086644,
    "revision": {
        "id": 495951,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3273f6172a0cd8050aab837aeb799c7f6efbb13b",
        "head_changeset": "fb5f57d8e65a8635ffc283b37be19c62cff3e569",
        "phabricator_id": 257360,
        "phabricator_phid": "PHID-DREV-k4skefuvixl7y6b3yswo",
        "title": "Bug 1977399 - Part 4. Log PDM order on initialization to better understand what is being picked at run time.",
        "bugzilla_id": 1977399,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495951/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495951/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257360"
    },
    "phid": "PHID-DIFF-j326lwetdeiyax56g3xs",
    "review_task_id": "bqTmymy6SNyI6PxCifs1ew",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fb5f57d8e65a8635ffc283b37be19c62cff3e569",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086644/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T20:47:59.432137Z"
}