List and retrieve diffs with detailed revision information

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

{
    "id": 1080648,
    "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-zlcsdyzgvu46oddntqzb",
    "review_task_id": "Y7zd38KeRXCgnC5hoxULIw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c5f3263068d05c65f33e9dcba5a676c6c63c588c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080648/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T06:06:50.856627Z"
}