List and retrieve diffs with detailed revision information

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

{
    "id": 1088087,
    "revision": {
        "id": 497116,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c532163bc3da0e38ceb6074587335c4b91f7077b",
        "head_changeset": "16ba7cd79575f13c41693fc8d34555c674ce2a2e",
        "phabricator_id": 257702,
        "phabricator_phid": "PHID-DREV-vb5kxag4g7suwut6l55y",
        "title": "Bug 1850817 - Change mpu files-changed to all of 'testing/' and 'python/'. r?#perftest",
        "bugzilla_id": 1850817,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497116/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497116/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257702"
    },
    "phid": "PHID-DIFF-fgvj44uit7w4mv55jhyb",
    "review_task_id": "VUATEHr1R4CB-xKPonQZlg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "16ba7cd79575f13c41693fc8d34555c674ce2a2e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088087/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T14:39:52.232727Z"
}