List and retrieve diffs with detailed revision information

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

{
    "id": 1055930,
    "revision": {
        "id": 478000,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3f12da1b322f2b823a7bd09cd01e6a416c6b05c5",
        "head_changeset": "53e91f8cfd7a61bc9c94960eb636dd7579724d09",
        "phabricator_id": 253174,
        "phabricator_phid": "PHID-DREV-4mmm4sg5o7qm6hdzgite",
        "title": "Bug 1971135: Implement and use anchor positioning parameter helpers. r=#layout,#anchor-positioning-reviewers",
        "bugzilla_id": 1971135,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478000/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478000/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253174"
    },
    "phid": "PHID-DIFF-ccrvkf5l5wapfr23mzwz",
    "review_task_id": "BzIIJSxlRsW5lNt4NjXiaw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "53e91f8cfd7a61bc9c94960eb636dd7579724d09",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055930/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T14:35:29.711368Z"
}