List and retrieve diffs with detailed revision information

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

{
    "id": 1078535,
    "revision": {
        "id": 489403,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f9cf1bee8ef03146f85982ecaadbaf1545302190",
        "head_changeset": "0ce64046aae979a334b16239c7b82fc8904916e4",
        "phabricator_id": 255778,
        "phabricator_phid": "PHID-DREV-bdq37grat4ygbe6a2hrd",
        "title": "WIP: Bug 1975165 - Rename fields of arena_chunk_t to update their style",
        "bugzilla_id": 1975165,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489403/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489403/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255778"
    },
    "phid": "PHID-DIFF-vvmtvigaqwyqy4xovwa5",
    "review_task_id": "OnKWiZNJSAmTQNwdFubnww",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "edab1a07c0f8bc961de77227349a867ed822a449",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078535/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T03:15:23.598419Z"
}