List and retrieve diffs with detailed revision information

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

{
    "id": 1097839,
    "revision": {
        "id": 477332,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "395474f5a3a4a1d5983dc3ec786a4813239ef435",
        "head_changeset": "c022fa30033cddd39dbaf6ba0989fbaef38757cb",
        "phabricator_id": 251656,
        "phabricator_phid": "PHID-DREV-wzli5w5ua477gjkptomy",
        "title": "WIP: Bug 1889757 Part 4: Create the NativeLayerRemoteMac peers.",
        "bugzilla_id": 1889757,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477332/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477332/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251656"
    },
    "phid": "PHID-DIFF-k5hbtz4rbmbpwmvw5i5w",
    "review_task_id": "XzpyH5EVQ46KGI0jhvn9Zw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f6b31f8a67cb382b190785da1c9e55c2d91fbc45",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1097839/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-29T23:31:13.467847Z"
}