List and retrieve diffs with detailed revision information

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

{
    "id": 1108515,
    "revision": {
        "id": 477899,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4e83647673a58f3d379f53d5d4e2ce0e840c03df",
        "head_changeset": "71e4b34cdbbad42cea4b14ab4c0f6f24b7325d88",
        "phabricator_id": 253058,
        "phabricator_phid": "PHID-DREV-i3ifnycxnarhbvbge726",
        "title": "WIP: Bug 1971158 - Vendor llama.cpp.",
        "bugzilla_id": 1971158,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477899/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477899/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253058"
    },
    "phid": "PHID-DIFF-qysxb43cvy33c3q4cn6o",
    "review_task_id": "Jk0quyxHTgW6jNdt9A5sXQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "45ce602f63e1109fd7e45979a6dfe24b3a56b518",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108515/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T08:32:19.583019Z"
}