List and retrieve diffs with detailed revision information

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

{
    "id": 1066727,
    "revision": {
        "id": 483436,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "bc5986667cc58f9eba03603e2a6cc34de79f77db",
        "head_changeset": "1f03fb0840a146d57d96a196159b24e5510a0cd3",
        "phabricator_id": 254528,
        "phabricator_phid": "PHID-DREV-z4mzpsf57nrbudo2cufm",
        "title": "Bug 1971487 - Stop setting lwtheme attribute in contentTheme.js, and revert the previous patch. r=#theme",
        "bugzilla_id": 1971487,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483436/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483436/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254528"
    },
    "phid": "PHID-DIFF-oifviafllnc2homqorvb",
    "review_task_id": "MbZdh7SLT3CPt6LQR7IXBg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1f03fb0840a146d57d96a196159b24e5510a0cd3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066727/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T16:49:28.291291Z"
}