List and retrieve diffs with detailed revision information

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

{
    "id": 1064300,
    "revision": {
        "id": 471403,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "10f805c9853bc080ad07b94fb8d2a08dbea5d691",
        "head_changeset": "a5c1f7a1bb18e3f43caf6d8334730a499ff4b5af",
        "phabricator_id": 244194,
        "phabricator_phid": "PHID-DREV-nufuushjwabgvj6nkrh2",
        "title": "WIP: Bug 1957885 - [devtools] Fix inline previews when there are parent function scopes",
        "bugzilla_id": 1957885,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471403/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471403/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244194"
    },
    "phid": "PHID-DIFF-424savl2heodpskcdzck",
    "review_task_id": "CE5ozK5uQlKhuBEdMvssJA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4a2ea14eabd7582349fab53e8b20ae3f08c8b46a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064300/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T17:10:56.439027Z"
}