List and retrieve diffs with detailed revision information

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

{
    "id": 1087631,
    "revision": {
        "id": 496604,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b34369cfdacdbeee47d3d4c029af0fb2e66cb4ff",
        "head_changeset": "9ebace2e1c2738164df7561dd145642a07497f0b",
        "phabricator_id": 257610,
        "phabricator_phid": "PHID-DREV-fg6rctfxhlabsvnsagsb",
        "title": "Bug 1977670 - Part 2 - Recolor the TopAppBar Composable when the screen content has scrolled.",
        "bugzilla_id": 1977670,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496604/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496604/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257610"
    },
    "phid": "PHID-DIFF-tuseczxlfjib2cnm74jk",
    "review_task_id": "eyrk42UgS1apvEOX1a_DQg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9ebace2e1c2738164df7561dd145642a07497f0b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087631/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T23:21:49.739530Z"
}