List and retrieve diffs with detailed revision information

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

{
    "id": 1111975,
    "revision": {
        "id": 521077,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "09fa1c7fed53898d361f1930a527528cf4e8ee41",
        "head_changeset": "f46727d7b70acecb1959a2f25c62b7bc3057f26e",
        "phabricator_id": 262582,
        "phabricator_phid": "PHID-DREV-bylv6i7by4l6t4kacfpg",
        "title": "Bug 1982672 - Create feature highlight for widgets r=#home-newtab-reviewers,amy",
        "bugzilla_id": 1982672,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521077/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521077/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262582"
    },
    "phid": "PHID-DIFF-tcwvkltvb7a3vklmr4e4",
    "review_task_id": "C_QHb6x1SfKS7lDjjJSJqA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f46727d7b70acecb1959a2f25c62b7bc3057f26e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111975/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T14:27:01.458630Z"
}