List and retrieve diffs with detailed revision information

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

{
    "id": 1052451,
    "revision": {
        "id": 477356,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e41a39280f3df82b90dcc7cccedaa13fe15bf486",
        "head_changeset": "bdb884f8e00e77e126045cd366e9422fc8b5f67c",
        "phabricator_id": 252438,
        "phabricator_phid": "PHID-DREV-z4xkkczubuaz4tlk36qn",
        "title": "Bug 1970181 - Part 2: Add subtype check in nsContentUtils::IsJsonMimeType.",
        "bugzilla_id": 1970181,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477356/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477356/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252438"
    },
    "phid": "PHID-DIFF-hbljxyjcc3nlprn34z3h",
    "review_task_id": "JUyQm0CHRJ2sxbS6IB6zxQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bdb884f8e00e77e126045cd366e9422fc8b5f67c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052451/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T07:24:20.346821Z"
}