List and retrieve diffs with detailed revision information

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

{
    "id": 1108843,
    "revision": {
        "id": 516301,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1670f9977c4447d4e06aa9f3ca6210e5c6eaef00",
        "head_changeset": "bb33a8443aba93fc91ad60ec34560e1a7661e6df",
        "phabricator_id": 261779,
        "phabricator_phid": "PHID-DREV-u2icgq5mnlmhwwsxialm",
        "title": "Bug 1984135 - Use TEST_DIRS instead of guarded DIRS r=ahochheiden",
        "bugzilla_id": 1984135,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516301/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516301/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261779"
    },
    "phid": "PHID-DIFF-gynecqns37mynuieoo4o",
    "review_task_id": "Uph2OAOqTmKSO4a0dLWaCg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bb33a8443aba93fc91ad60ec34560e1a7661e6df",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108843/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T17:09:21.241193Z"
}