List and retrieve diffs with detailed revision information

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

{
    "id": 1052836,
    "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-mpclrtskzkf5ajcfyepg",
    "review_task_id": "a65OGA9tRzKMmtweF7u5Ug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3aeecf041ec895899c78f0c19fe9d9345ec5aad7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052836/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T16:46:36.721276Z"
}