List and retrieve diffs with detailed revision information

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

{
    "id": 1112400,
    "revision": {
        "id": 521462,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b7573b229c2d2e6a660decc4e3ed7183c761f8e1",
        "head_changeset": "4bf736c87c9553f118e81f677e90289bbd5400a1",
        "phabricator_id": 262706,
        "phabricator_phid": "PHID-DREV-pavv2jvrjfoikqhbxtvz",
        "title": "Bug 1985174 - Switch revset from \"latest(...@... | @-)\" to the more semantically correct \"coalesce(...@..., @_)\" r=ahochheiden",
        "bugzilla_id": 1985174,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521462/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521462/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262706"
    },
    "phid": "PHID-DIFF-5qoktn4g5wmql6vomtez",
    "review_task_id": "EO-17xnnR-OrUyfWQ5TAvA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4bf736c87c9553f118e81f677e90289bbd5400a1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112400/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T23:02:10.476938Z"
}