List and retrieve diffs with detailed revision information

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

{
    "id": 1115285,
    "revision": {
        "id": 483970,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "15d7ea22f858bcfceae7d0c1cfa57117120bb10c",
        "head_changeset": "830b9b626b874badc891c88b2643973599f55ce8",
        "phabricator_id": 254660,
        "phabricator_phid": "PHID-DREV-q27rqtc34me6douikvh2",
        "title": "WIP: Bug 1973438 - Add an OpenAI client in the backend",
        "bugzilla_id": 1973438,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483970/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483970/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254660"
    },
    "phid": "PHID-DIFF-vlo3ur5sc7f7z2er4cfk",
    "review_task_id": "Um7cYwTKS8uZEWerVvUjzw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7577e663c04cb23e0151e1fe2578a4de27dad682",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1115285/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-02T12:32:00.504435Z"
}