List and retrieve diffs with detailed revision information

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

{
    "id": 1112265,
    "revision": {
        "id": 521381,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4983140b3590625a6ee0b0197a50afa89446c69c",
        "head_changeset": "a38f24761071bdfbc8ca57e74937e0c7c813cb8c",
        "phabricator_id": 262655,
        "phabricator_phid": "PHID-DREV-feooaej5h6vwqrjwxt7a",
        "title": "Bug 1979139 - Add a Taskcluster route to update-verify config",
        "bugzilla_id": 1979139,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521381/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521381/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262655"
    },
    "phid": "PHID-DIFF-6zpclmyyd3znus3egblx",
    "review_task_id": "CZ1zVTTZRFOV1MCRPE1FkQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a38f24761071bdfbc8ca57e74937e0c7c813cb8c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112265/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T21:01:28.641693Z"
}