List and retrieve diffs with detailed revision information

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

{
    "id": 1052803,
    "revision": {
        "id": 396219,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7ac8585e3c02763662a597f94e0676111667aa60",
        "head_changeset": "d796e1e9c2ffdd13c74381f683d9046370d8b7ca",
        "phabricator_id": 228851,
        "phabricator_phid": "PHID-DREV-d5qhft7eiihkwypamlta",
        "title": "Bug 1820594 - Part 13: Remove HostResolveImportedModule and HostImportModuleDynamically",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/396219/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/396219/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D228851"
    },
    "phid": "PHID-DIFF-2xjfp7depbqv4fczw4d4",
    "review_task_id": "JdXNUxVjSme6eLgjhHpsqw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "105ac2def77d5006b96a46b9872b2df8be04826f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052803/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T15:54:30.812985Z"
}