List and retrieve diffs with detailed revision information

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

{
    "id": 1087964,
    "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-gchsggnhh4pmyuyhkcst",
    "review_task_id": "Sl3mygbxQ4qNEmtKSLDkEA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "690389c2447ebafa61a499ee972e41f91519fa4f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087964/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T11:52:07.726563Z"
}