List and retrieve diffs with detailed revision information

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

{
    "id": 1030749,
    "revision": {
        "id": 474037,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f938bfec8eaa4237a812c44fac0d23861af4eae",
        "head_changeset": "ac0396a10dc1c64d20218db66128ed21d6f3679c",
        "phabricator_id": 247830,
        "phabricator_phid": "PHID-DREV-xzxht6zknioplnefp3qk",
        "title": "Bug 1964209 - If user dismisses the PBM lock banner, do not show it again",
        "bugzilla_id": 1964209,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474037/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474037/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247830"
    },
    "phid": "PHID-DIFF-ge4jjpoevef3dcjqktbr",
    "review_task_id": "CEqbEVDQQsatUhKllQyI0w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9c3b90be927fe5ef7311be2eae9590ee90a03da9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1030749/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-09T18:34:50.573504Z"
}