List and retrieve diffs with detailed revision information

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

{
    "id": 1079894,
    "revision": {
        "id": 492569,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5cbe4dd700e27bcc902178ba71c5787f63c9c12b",
        "head_changeset": "9fd26e4abd09cf0edbaa7b9fd05ae4f1f83fc3ab",
        "phabricator_id": 256554,
        "phabricator_phid": "PHID-DREV-rscc3qaa6zypkgrlttix",
        "title": "Bug 1976372 - part 2: Move the definition of the child classes of `AutoDeleteRangesHandler` outside r=m_kato!",
        "bugzilla_id": 1976372,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492569/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492569/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256554"
    },
    "phid": "PHID-DIFF-ukdhzia2cijclmcmb3aw",
    "review_task_id": "NzWQGBBVTWaHeF-g5Ehiag",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9fd26e4abd09cf0edbaa7b9fd05ae4f1f83fc3ab",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079894/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T02:09:57.135614Z"
}