List and retrieve diffs with detailed revision information

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

{
    "id": 1074915,
    "revision": {
        "id": 488091,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ebab6d3ecba495b6ed75d01959e62fb363eb567f",
        "head_changeset": "3808000b0dc47b8bd58f2824c0b03eef8a249b9a",
        "phabricator_id": 255445,
        "phabricator_phid": "PHID-DREV-tjceoexb74bjgvo4ggb3",
        "title": "WIP: Bug 1767318 - add support for trusting Rspamd headers",
        "bugzilla_id": 1767318,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488091/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488091/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255445"
    },
    "phid": "PHID-DIFF-2u3f2mgml2fu7j2cmas5",
    "review_task_id": "NiqfsCf_TfK0ClH5R5dBqQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c4d7dba391cc9d78df32d3c1c64ead57fd9c83e6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074915/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T04:18:11.086018Z"
}