List and retrieve diffs with detailed revision information

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

{
    "id": 1076739,
    "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-mmbhv6cqx3dtqvk76rs7",
    "review_task_id": "NK4JORGoTGq3qoBez9oCCA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cd0989ce14047b00d31e74138580c30bb940569a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076739/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T15:03:03.693584Z"
}