List and retrieve diffs with detailed revision information

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

{
    "id": 1052193,
    "revision": {
        "id": 477148,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d93e18fc73f214f3bd6b3ebd6ef0e8209839c1c",
        "head_changeset": "8a5a3fca83f310cda39cbeb09e8fd9c5b11bc884",
        "phabricator_id": 252211,
        "phabricator_phid": "PHID-DREV-ldykeafecwy2ihjhxkw6",
        "title": "Bug 1969962 Part 2 - Refactor content contributions in CachedIntrinsicSizes to be calculated at once.",
        "bugzilla_id": 1969962,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477148/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477148/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252211"
    },
    "phid": "PHID-DIFF-pwpdbunyvaejxqqzg3s5",
    "review_task_id": "Bm7Rj2E2SOeUAD4D4LK7fg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f4c13b9f7d57b6710bc12e84321452eba92ffa81",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052193/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T20:03:24.792251Z"
}