List and retrieve diffs with detailed revision information

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

{
    "id": 1049755,
    "revision": {
        "id": 476726,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9aff80d014f71d00bfdd6bfc776309f4621f4991",
        "head_changeset": "1cfc1275e609d07ed0d2f683cc24ea24f62f1883",
        "phabricator_id": 251210,
        "phabricator_phid": "PHID-DREV-67kqgsdgspzrc2chbjng",
        "title": "Bug 1968592: Enable `use-uv` by default for `test` and `source-test` kinds r?glandium,ahal",
        "bugzilla_id": 1968592,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476726/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476726/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251210"
    },
    "phid": "PHID-DIFF-k7k274rk3xb6kv2i47l4",
    "review_task_id": "api4NdaqRNOZ_8GSLMcqXQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a3e68c43f3b90f8cb998ad571817d120b785a5f4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049755/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T07:44:02.278863Z"
}