List and retrieve diffs with detailed revision information

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

{
    "id": 1056388,
    "revision": {
        "id": 478086,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fb6553de46b1d03307a6279b15c30493d5bf958a",
        "head_changeset": "0397c445ae781b20f862768b0759dc47006cbbe4",
        "phabricator_id": 253278,
        "phabricator_phid": "PHID-DREV-rtvseh4jbseg46joijao",
        "title": "Bug 1970455 - Replace mission-message-link with moz-support link r=#home-newtab-reviewers",
        "bugzilla_id": 1970455,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478086/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478086/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253278"
    },
    "phid": "PHID-DIFF-juhkxk6f7vogbley5irh",
    "review_task_id": "c-Gg-Tu9T0epLaac7aPItQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0397c445ae781b20f862768b0759dc47006cbbe4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056388/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T01:56:19.020603Z"
}