List and retrieve diffs with detailed revision information

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

{
    "id": 1099377,
    "revision": {
        "id": 504959,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d34398f3889876cdcd3766561306d4e49e29ddf4",
        "head_changeset": "6b5a6b59179ba6a9ab2cc5ceb385c3197800c000",
        "phabricator_id": 259498,
        "phabricator_phid": "PHID-DREV-7r4g3cgkoq2wioyvce4n",
        "title": "WIP: Bug 1385832 - getBytesInUse() is not supported in local and managed storage areas",
        "bugzilla_id": 1385832,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/504959/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/504959/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259498"
    },
    "phid": "PHID-DIFF-xmma5466lqf6lim455nt",
    "review_task_id": "PwOm1Cp_R3ikWPq_hegESw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6fd3ac52a4e4b3c5ce87334374b059540101ba06",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099377/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T03:27:58.420340Z"
}