List and retrieve diffs with detailed revision information

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

{
    "id": 1052969,
    "revision": {
        "id": 477470,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a877563ce66a7fa2a3954bfcfdcff680d76ec271",
        "head_changeset": "8a1c466b74ea7e8a85aa2244a84dcaf1bb021f98",
        "phabricator_id": 252563,
        "phabricator_phid": "PHID-DREV-j2ktaw5f5w2yzxw7csgj",
        "title": "Bug 1970191 - Minor refactoring and additional config output r?ahal,sfink",
        "bugzilla_id": 1970191,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477470/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477470/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252563"
    },
    "phid": "PHID-DIFF-ozltxh7onz7zeclkqu2l",
    "review_task_id": "c6ewJP5SRDSueA3prCNvUg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "411dbb600034bffced22f721e5dec1f3952a5446",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052969/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T18:43:54.362080Z"
}