List and retrieve diffs with detailed revision information

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

{
    "id": 1086430,
    "revision": {
        "id": 493914,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5105fd7a90059a98cfefcfffe9e40664895a19ae",
        "head_changeset": "731241617855fd34e8c4531ddf4687f130d39300",
        "phabricator_id": 256964,
        "phabricator_phid": "PHID-DREV-g367lzkzvkxfguzwlznc",
        "title": "Bug 1976826 - Part 3: Remove encoded sizes and replace with an allocation end bitmap r?sfink",
        "bugzilla_id": 1976826,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493914/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493914/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256964"
    },
    "phid": "PHID-DIFF-p4hhv3g7wjzfpvnaucgn",
    "review_task_id": "cdYau3MrQDCjVNiNd2AIqw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "70a7acaa8d82b76a09dc7304d09311174a6f4cc9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086430/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T16:06:07.424389Z"
}