List and retrieve diffs with detailed revision information

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

{
    "id": 1048900,
    "revision": {
        "id": 475767,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "79ca45b5d15e6cfd04b558f2eac57832108ac291",
        "head_changeset": "671f7b1b17edbaab60ec4e8d82983e0f5b1b9ce1",
        "phabricator_id": 250337,
        "phabricator_phid": "PHID-DREV-6c56vly2x6it5xrbbwvj",
        "title": "Bug 1965907 - Re-enable `test_vendor.py` r?#build",
        "bugzilla_id": 1965907,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475767/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475767/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250337"
    },
    "phid": "PHID-DIFF-uaqkhrmilf2b5blbrpxg",
    "review_task_id": "MoUgIN1UTJuG0ByiZfqGYw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cc1c682ab7d863eb7e52b8cbcda5371867e884e9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048900/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T04:21:09.999462Z"
}