List and retrieve diffs with detailed revision information

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

{
    "id": 1078551,
    "revision": {
        "id": 491328,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "6628f1a357a258b06c5f8e1480eba76857df6aeb",
        "head_changeset": "01bcca359885e0d80b373e6da07b02de7e560f46",
        "phabricator_id": 256219,
        "phabricator_phid": "PHID-DREV-ixa7mdalaeruezehz4ry",
        "title": "Bug 1975911 - Stop throwing away all the outgoing servers when creating a new one. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1975911,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491328/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491328/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256219"
    },
    "phid": "PHID-DIFF-7sphaxpefwwqw2twwn2c",
    "review_task_id": "RsMnteaaR6ihhNC-NFWtxA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "01bcca359885e0d80b373e6da07b02de7e560f46",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078551/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T04:59:28.108480Z"
}