List and retrieve diffs with detailed revision information

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

{
    "id": 1048907,
    "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-kz4ndnb6qt7cbyuengkq",
    "review_task_id": "ejx-Nph0RDST48qQZHPwsw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1cfc1275e609d07ed0d2f683cc24ea24f62f1883",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048907/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T04:59:11.299522Z"
}