List and retrieve diffs with detailed revision information

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

{
    "id": 1088323,
    "revision": {
        "id": 497340,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9ebbcf21a2ae5382eb1a1fd1d94710d5b0c63c94",
        "head_changeset": "2990e87a30b1565098b96962c47ea9bc21f315e8",
        "phabricator_id": 251930,
        "phabricator_phid": "PHID-DREV-xnwliob7j3vcs62ijbic",
        "title": "Bug 1963901: Added ProfilerServiceTest and made channelID public in profilerService to allow for testing r=kaya",
        "bugzilla_id": 1963901,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497340/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497340/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251930"
    },
    "phid": "PHID-DIFF-vrvdkmvchgh4ssgq22ge",
    "review_task_id": "aaEYRFl3SAGvSY50YPOZXg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2990e87a30b1565098b96962c47ea9bc21f315e8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088323/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T20:01:48.507666Z"
}