List and retrieve diffs with detailed revision information

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

{
    "id": 1082025,
    "revision": {
        "id": 494543,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b78a5a06c422331c7021fdf5dc004608f1ef6f97",
        "head_changeset": "c41ebe9a032754b59ac408ce0e8669098d7165d4",
        "phabricator_id": 257097,
        "phabricator_phid": "PHID-DREV-m6k4zx2jntnn2nhbwtuy",
        "title": "Bug 1976674 - increase MAX_SURFACE_SIZE to match kReasonableSurfaceSize r=ahale",
        "bugzilla_id": 1976674,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494543/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494543/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257097"
    },
    "phid": "PHID-DIFF-w6mafauehejs5gsnewf7",
    "review_task_id": "BJZx2S2nQwqGhEy8qK3IUw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c41ebe9a032754b59ac408ce0e8669098d7165d4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1082025/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-12T08:07:09.751730Z"
}