List and retrieve diffs with detailed revision information

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

{
    "id": 1056272,
    "revision": {
        "id": 477642,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "a8c5bf1d3266b7abe17fc6c8ec7e9c70c6867a12",
        "head_changeset": "9b23197a1e6e130317c0617838daaa7087381601",
        "phabricator_id": 252769,
        "phabricator_phid": "PHID-DREV-qb2ltu2yw5svchekwp4f",
        "title": "Bug 1970721 - Enable Search Messages outside of the Mail tab. r=#thunderbird-reviewers",
        "bugzilla_id": 1970721,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477642/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477642/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252769"
    },
    "phid": "PHID-DIFF-mrwsxf32matox76ktgdy",
    "review_task_id": "MxNLZ9zXRa2Ctfp7etcnEg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "01cf6965f029d4df2498aa7fb2f3e86eb8a6fb97",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056272/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T22:15:24.269508Z"
}