List and retrieve diffs with detailed revision information

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

{
    "id": 1054038,
    "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-kuxnxhcdg6faozcx3p3g",
    "review_task_id": "FVXiP5ZpSAqs7ElEIdWhEQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "876d261b8e36407964bf6f265d9f859442c59fdb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054038/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T01:21:09.993529Z"
}