List and retrieve diffs with detailed revision information

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

{
    "id": 1108104,
    "revision": {
        "id": 515524,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "664497321e4c0f518f1c9fbc30a5b73c1b135238",
        "head_changeset": "e1b3ac78be6c17f8082159210ccdccad09c57d89",
        "phabricator_id": 261609,
        "phabricator_phid": "PHID-DREV-4lnsfj6fg2tyy7mp7ykl",
        "title": "Bug 1979086 - MPP-4150 enhancement(promotions): update Relay Mask Offer UX and icon for existing users r?#credential-management-reviewers",
        "bugzilla_id": 1979086,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515524/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515524/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261609"
    },
    "phid": "PHID-DIFF-5ksqnmz3ygt33ul2ntge",
    "review_task_id": "Sb54VFOdT9eRJOKt5fpMaw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "81bcee02d9b0e7c33db29e570843c26c78f7963f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108104/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T19:25:43.270066Z"
}