List and retrieve diffs with detailed revision information

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

{
    "id": 1112249,
    "revision": {
        "id": 521371,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5b1ba94aba774a69c017d5efd5b15cc7a872b9f6",
        "head_changeset": "570f71ac84eb9e603b2935e8d43b9390011691ec",
        "phabricator_id": 262651,
        "phabricator_phid": "PHID-DREV-o7eq6ilsqzthj4cwy5zm",
        "title": "Bug 1985336 - part2 : add a Glean probe `mkv_content_count` to measure MKV usage.",
        "bugzilla_id": 1985336,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521371/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521371/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262651"
    },
    "phid": "PHID-DIFF-qqdmihhkq4pmu7olupvs",
    "review_task_id": "KyR_rU7XT1KhR92GpuZKYg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "570f71ac84eb9e603b2935e8d43b9390011691ec",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112249/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T20:37:05.631691Z"
}