List and retrieve diffs with detailed revision information

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

{
    "id": 1051658,
    "revision": {
        "id": 477085,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0cccbfe261f5e25e6c795aed49789b1101eed5ec",
        "head_changeset": "9eb26259cb03c10498bf70a1d18208d50eb01ca7",
        "phabricator_id": 252148,
        "phabricator_phid": "PHID-DREV-yrahrwf3tspghnxow3xx",
        "title": "Bug 1969879 - Handle XDG_CONFIG_HOME in crash_helper_server r?afranchuk!",
        "bugzilla_id": 1969879,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477085/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477085/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252148"
    },
    "phid": "PHID-DIFF-56bwghecdweqk4l4y5ll",
    "review_task_id": "H4WU32YlSKi1CcB2uEHaJA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bac4cd4643ce122f82546878f8830b6a611795bf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051658/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T08:46:14.360328Z"
}