List and retrieve diffs with detailed revision information

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

{
    "id": 1076740,
    "revision": {
        "id": 489563,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "64ceb3e693e918d83c001d54d1c039405776251a",
        "head_changeset": "80bf442cda8b89aafc6f9387f25baf96d099266e",
        "phabricator_id": 255808,
        "phabricator_phid": "PHID-DREV-qdigcdi6hvf4jq5fqsfd",
        "title": "Bug 1975158 - Text Fragments: Fix cycle collection leak. r=mccr8!",
        "bugzilla_id": 1975158,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489563/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489563/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255808"
    },
    "phid": "PHID-DIFF-j2lqlmctmnvh6noos5di",
    "review_task_id": "TwYb1v_CT_OGJ1vSjlEKjw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bfa028ce23f897e1c59dbf72e71e0b1dad1c1409",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076740/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T15:10:24.398767Z"
}