List and retrieve diffs with detailed revision information

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

{
    "id": 1053105,
    "revision": {
        "id": 477495,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1b04c5ce6710f330b160d5c2e51514e490e411a5",
        "head_changeset": "9be6336d04b3b9253a508a66fa863021aabfad3a",
        "phabricator_id": 252592,
        "phabricator_phid": "PHID-DREV-nyaxtqeiv5ppwldoev6l",
        "title": "Bug 1903116 - Android: Consider increasing the number of sockets available for speculative connect (currently 6) r=#necko-reviewers",
        "bugzilla_id": 1903116,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477495/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477495/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252592"
    },
    "phid": "PHID-DIFF-y6hbrnhwmiuyqgdudxu6",
    "review_task_id": "C8CDsO4kReOeYIuegCBc8A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9be6336d04b3b9253a508a66fa863021aabfad3a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053105/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T20:58:26.749318Z"
}