List and retrieve diffs with detailed revision information

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

{
    "id": 1052937,
    "revision": {
        "id": 477383,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1c95aad03f939c8c0f2225a6ce1fbe210d05fac",
        "head_changeset": "0d11c9d448a6dfcda660ff6f9f013b3cac67682a",
        "phabricator_id": 250608,
        "phabricator_phid": "PHID-DREV-5utt3y7mdgbtbo4oq6f7",
        "title": "WIP: Bug 1964996 - Allow to add/remove optional data collection perms in A-C",
        "bugzilla_id": 1964996,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477383/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477383/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250608"
    },
    "phid": "PHID-DIFF-kf4jpsl4jbjstii2la3y",
    "review_task_id": "etZ2UlgmTpSEVrhcpMNsXg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3e23c215ab99b61057fd653ff77dc15c75241a23",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052937/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T18:58:24.447333Z"
}