List and retrieve diffs with detailed revision information

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

{
    "id": 1052988,
    "revision": {
        "id": 477446,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7b68133ea0323f1c7914eb3054cff6784f922951",
        "head_changeset": "84c07e5b26619944e437b89eeb3fd03d3a151aac",
        "phabricator_id": 252371,
        "phabricator_phid": "PHID-DREV-jlkvpbnwocqpp7qzha7r",
        "title": "Bug 1970084 - Removed share and translation page actions in small window devices.",
        "bugzilla_id": 1970084,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477446/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477446/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252371"
    },
    "phid": "PHID-DIFF-7ac5e4lpo4sfj5fywnre",
    "review_task_id": "N9vtQAIxTKy9HxLawEGa5A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f1a03858273c9f6a27c918cdad3d0e8eeb6ee1a9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052988/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T20:03:22.255520Z"
}