List and retrieve diffs with detailed revision information

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

{
    "id": 1056392,
    "revision": {
        "id": 476387,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2cd563935a67a950960f9b68cc24c6c55bc49d36",
        "head_changeset": "1f1e00c3b2d2ec69895a1e41af659636a78719ff",
        "phabricator_id": 251247,
        "phabricator_phid": "PHID-DREV-jnq33jkqo2ppkoelqh57",
        "title": "WIP: Bug 1952094 - For localfolder copy, use msgKey from final header in nsIMsgCopyServiceListener.setMessageKey() invocations. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1952094,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476387/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476387/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251247"
    },
    "phid": "PHID-DIFF-rqdxvcjtmd7q53togtrx",
    "review_task_id": "Z-HQiXpNS7OObzgH7Smpvg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "de7dac9674ab81e036883af6c1eb0ff4c080266e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056392/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T01:56:12.745962Z"
}