List and retrieve diffs with detailed revision information

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

{
    "id": 1055259,
    "revision": {
        "id": 477897,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4e83647673a58f3d379f53d5d4e2ce0e840c03df",
        "head_changeset": "db111a10c7f2d0385336319d8af0bcd0a6437e03",
        "phabricator_id": 253056,
        "phabricator_phid": "PHID-DREV-vhfi2ir6k3azpephcecc",
        "title": "WIP: Bug 1965046 - Support moz-select with config-based prefs",
        "bugzilla_id": 1965046,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477897/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477897/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253056"
    },
    "phid": "PHID-DIFF-j6yvqmmwzhkguchrjlsk",
    "review_task_id": "PVlJQiwsRxCv0EAt0fz2Zw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "db111a10c7f2d0385336319d8af0bcd0a6437e03",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055259/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T17:36:44.187937Z"
}