List and retrieve diffs with detailed revision information

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

{
    "id": 1050261,
    "revision": {
        "id": 476949,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "aea59150edbd57ef1f3240c34eaf6d5e2b1e85de",
        "head_changeset": "ebced21929dc60277f5dacfc7bc9101dee8d349f",
        "phabricator_id": 251961,
        "phabricator_phid": "PHID-DREV-ykwmjslm6n67ybmtmee7",
        "title": "Bug 1906051 - [bidi] Emit browsingContext.historyUpdated for history traversal",
        "bugzilla_id": 1906051,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476949/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476949/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251961"
    },
    "phid": "PHID-DIFF-hacit5swz7rz5s7q2ubl",
    "review_task_id": "aYKR9orpReGXhiqc-TzCvw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ebced21929dc60277f5dacfc7bc9101dee8d349f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050261/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T22:34:36.770571Z"
}