List and retrieve diffs with detailed revision information

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

{
    "id": 1086521,
    "revision": {
        "id": 495884,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d4acddfa70e03eff69b0d75e1ad502b559c5182c",
        "head_changeset": "d44ba06c6c88dc4cbf24d97725a762633dd9195c",
        "phabricator_id": 257063,
        "phabricator_phid": "PHID-DREV-mj4623bsjhx6srhwgw5v",
        "title": "Bug 1974315 - Part 5: Hide homepage section settings when overrideUserSpecifiedHomepageSections is enabled.",
        "bugzilla_id": 1974315,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495884/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495884/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257063"
    },
    "phid": "PHID-DIFF-smwhvqcvow4j7xqyl54f",
    "review_task_id": "OYsHk6yGTMSnO3Ql2sO_8w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d44ba06c6c88dc4cbf24d97725a762633dd9195c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086521/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T20:10:10.133617Z"
}