List and retrieve diffs with detailed revision information

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

{
    "id": 1066497,
    "revision": {
        "id": 482847,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "15bd088f6a5212767c996676ed5b213d89d54f80",
        "head_changeset": "3cc224c132d543791264d3535eacc77de479e457",
        "phabricator_id": 254464,
        "phabricator_phid": "PHID-DREV-yub6an6cm5g3obpnnca3",
        "title": "Bug 1972440 - Removed a comment about mangled syntax as it is no longer applies with the bump to `mako` version `1.3.10` r?mhodson",
        "bugzilla_id": 1972440,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482847/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482847/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254464"
    },
    "phid": "PHID-DIFF-zhsxxkkwfoed3kabl226",
    "review_task_id": "OkQJI9FMSNSd75s18PnwDg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3cc224c132d543791264d3535eacc77de479e457",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066497/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T04:53:26.867154Z"
}