List and retrieve diffs with detailed revision information

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

{
    "id": 1111064,
    "revision": {
        "id": 520010,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "21f59accc7fad3c2bbc800384cab5a5cb59c1d1c",
        "head_changeset": "cfb46c293b531927f5c3ee12346228a045dbfc4e",
        "phabricator_id": 262387,
        "phabricator_phid": "PHID-DREV-vr3ofhwfudj4bgzg3nmn",
        "title": "WIP: Bug 1983320 - Add support for ML-DSA keys and mechanisms in PKCS#11 interface",
        "bugzilla_id": 1983320,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520010/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520010/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262387"
    },
    "phid": "PHID-DIFF-mmgz7eruknnrsf72rz5p",
    "review_task_id": "SovI8JgPSHCbSwPu2-dIrQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cfb46c293b531927f5c3ee12346228a045dbfc4e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111064/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T14:27:12.226924Z"
}