List and retrieve diffs with detailed revision information

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

{
    "id": 1050267,
    "revision": {
        "id": 476948,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "aea59150edbd57ef1f3240c34eaf6d5e2b1e85de",
        "head_changeset": "4a1319ef464411f462cf0c8e6acf06cf2637851b",
        "phabricator_id": 251963,
        "phabricator_phid": "PHID-DREV-j65ghedeuczbrlnrp5ps",
        "title": "Bug 1906051 - [wdspec] Add test for history traversal with browsingContext.historyUpdated",
        "bugzilla_id": 1906051,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476948/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476948/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251963"
    },
    "phid": "PHID-DIFF-ogmpym2mvr2zkyyiy75v",
    "review_task_id": "UJtKh35yQaa9uRbZ5FZVUg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "975acd19ae9febf9047aff7b3d66b4958db820aa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050267/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T22:42:10.435038Z"
}