List and retrieve diffs with detailed revision information

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

{
    "id": 1087430,
    "revision": {
        "id": 494380,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4031593033c0833fd362eb8e1c04f9aac163d5a2",
        "head_changeset": "7e3d47cf7e7bc3895781c39965264dba85933d34",
        "phabricator_id": 257076,
        "phabricator_phid": "PHID-DREV-dhpeqp3lvtwppyp25rrr",
        "title": "WIP: Bug 1915211 - Enable configuration of EWS delete model.",
        "bugzilla_id": 1915211,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494380/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494380/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257076"
    },
    "phid": "PHID-DIFF-2lraxqdjyvlq2q2sozzw",
    "review_task_id": "U5klvJ8mR6GUZTJHaI5NFg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "29a5a23aaaae4b63f1e5cc67b4f6003d73c69d03",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087430/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T18:14:40.896038Z"
}