List and retrieve diffs with detailed revision information

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

{
    "id": 1077229,
    "revision": {
        "id": 489948,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3d1d0cf23ee9357c14025f9135896ed033f9c3ac",
        "head_changeset": "c54f0c75779ca34bd248e586a06669b6a2cea0d8",
        "phabricator_id": 255916,
        "phabricator_phid": "PHID-DREV-lcwhz3sal7kphewdy2l6",
        "title": "Bug 1975372: show helper text when host is empty in add login screen",
        "bugzilla_id": 1975372,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489948/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489948/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255916"
    },
    "phid": "PHID-DIFF-ebxjwnycglvx5mmmwoax",
    "review_task_id": "CWA-9GvXT7uOlUf5ytWoJg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c54f0c75779ca34bd248e586a06669b6a2cea0d8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077229/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T08:17:48.398796Z"
}