List and retrieve diffs with detailed revision information

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

{
    "id": 1114757,
    "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-tz4tff2qp6mf2g7wh2hw",
    "review_task_id": "fR578RhhSTe4tf8B35pKNg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6ad3caaac634d3e9a0a80cfc3bd62c4f23f517cf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1114757/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-31T23:53:04.837701Z"
}