List and retrieve diffs with detailed revision information

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

{
    "id": 1076330,
    "revision": {
        "id": 488721,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8dce7fb0a03c652498317938af58ed33252401c7",
        "head_changeset": "8b161d177db3bb825bd23036439c7c703234009f",
        "phabricator_id": 255580,
        "phabricator_phid": "PHID-DREV-fyve7hlprpnx2nlxvcqo",
        "title": "WIP: Bug 1972693 - Swallow Rust logins errors",
        "bugzilla_id": 1972693,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488721/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488721/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255580"
    },
    "phid": "PHID-DIFF-q52tkhhbyivjynuuqmwa",
    "review_task_id": "SN5ETb9aR3GtkOSSPENmCg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4cc7f82b63cbfd78d3f7fc65b26f2041293ed2c2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076330/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T22:04:26.327952Z"
}