List and retrieve diffs with detailed revision information

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

{
    "id": 1033398,
    "revision": {
        "id": 413517,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9358b6a02a04f62e0c9c7fcba4877700076a28f5",
        "head_changeset": "866f379a837626bcb7b42517776c62cc88453807",
        "phabricator_id": 214568,
        "phabricator_phid": "PHID-DREV-t6cp2pr272hgfsqdg57a",
        "title": "Bug 1820594 - Part 3: Implement LoadedModules in ModuleObject.",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/413517/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/413517/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D214568"
    },
    "phid": "PHID-DIFF-bhzrj25ecqvuwg222yv6",
    "review_task_id": "TGQQd0H5RHu_Ytq8DMFzmg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "eddfbc381f5d8b3308466ec09d930fd2a1839710",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1033398/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-14T14:28:17.387650Z"
}