List and retrieve diffs with detailed revision information

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

{
    "id": 1066165,
    "revision": {
        "id": 482523,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "66bdc2293bcedb5216ebc6faad57c4d8dbcd35ba",
        "head_changeset": "6c1fe8654f1167ff88158d9a4ee4adf88b00e514",
        "phabricator_id": 254419,
        "phabricator_phid": "PHID-DREV-ysv672ljjwzwvqqevhu7",
        "title": "Bug 901050 - Part 5: Avoid checking backend pref in content, r=#ipc-reviewers!",
        "bugzilla_id": 901050,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482523/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482523/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254419"
    },
    "phid": "PHID-DIFF-quz6lsaipnxhoeph2xx5",
    "review_task_id": "QFA27IrtQ12Pibtp8sxILw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6c1fe8654f1167ff88158d9a4ee4adf88b00e514",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066165/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T17:08:23.459589Z"
}