List and retrieve diffs with detailed revision information

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

{
    "id": 1108736,
    "revision": {
        "id": 516257,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1e53f118cd4bbebc1a98b90743d3c72a4d5d444f",
        "head_changeset": "5576199df6c46a2f4aa3af97e3222e86b7899ae8",
        "phabricator_id": 261748,
        "phabricator_phid": "PHID-DREV-yrmnqjnlx5wsgrswpzil",
        "title": "Bug 1984102 - Keep AutoTArray bit across relocations. r=nika!",
        "bugzilla_id": 1984102,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516257/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516257/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261748"
    },
    "phid": "PHID-DIFF-xltcj7ar2phgwogzfy4w",
    "review_task_id": "MdScOQOcQqGd7rdX0DGbjQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "50d050e24c7f1525b4915148db257505b236c491",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108736/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T15:03:28.808945Z"
}